Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 177 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9747/0.9747, allocations: 177.1 MB / 203.8 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.136/2.136, allocations: 429.5 MB / 0.6736 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|k.y|ratioLT.y|timConDel.T|timConDel.L",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|k.y|ratioLT.y|timConDel.T|timConDel.L",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.076e-05, allocations: 3.406 kB / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002295/0.002325, allocations: 1.372 MB / 0.8795 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002415/0.00474, allocations: 1.546 MB / 0.8811 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.004967, allocations: 8.656 kB / 0.8811 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.005179, allocations: 31.59 kB / 0.8811 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.005345, allocations: 57.12 kB / 0.8811 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.006377, allocations: 335.1 kB / 0.8815 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005817/0.006959, allocations: 480.6 kB / 0.8819 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.007274, allocations: 131.6 kB / 0.882 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.007644, allocations: 263.5 kB / 0.8823 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.007909, allocations: 135.6 kB / 0.8824 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.587e-05/0.007995, allocations: 48 kB / 0.8825 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.00815, allocations: 71.94 kB / 0.8825 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.368e-05/0.008223, allocations: 73.05 kB / 0.8826 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.008397, allocations: 135.7 kB / 0.8827 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005699/0.008967, allocations: 346.8 kB / 0.8831 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.008973, allocations: 1.594 kB / 0.8831 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.683e-06/0.008974, allocations: 0 / 0.8831 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.008982, allocations: 0 / 0.8831 GB, free: 1.625 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001101/0.01008, allocations: 0.6927 MB / 0.8838 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.01013, allocations: 8.031 kB / 0.8838 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003484/0.01048, allocations: 64.73 kB / 0.8838 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.01083, allocations: 253.5 kB / 0.8841 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.01087, allocations: 25.03 kB / 0.8841 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.01091, allocations: 38.59 kB / 0.8841 GB, free: 484 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.01118, allocations: 191.4 kB / 0.8843 GB, free: 284 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.01119, allocations: 192 / 0.8843 GB, free: 284 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.01122, allocations: 12.38 kB / 0.8843 GB, free: 272 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.01123, allocations: 8.375 kB / 0.8843 GB, free: 264 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.01138, allocations: 99.8 kB / 0.8844 GB, free: 168 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009188/0.01229, allocations: 0.7496 MB / 0.8852 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.01258, allocations: 131.4 kB / 0.8853 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.058e-05/0.01266, allocations: 53.38 kB / 0.8853 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.01268, allocations: 11.89 kB / 0.8853 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.01284, allocations: 126.7 kB / 0.8855 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.884e-06/0.01285, allocations: 0 / 0.8855 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0003407/0.01319, allocations: 203.4 kB / 0.8857 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.01322, allocations: 63.34 kB / 0.8857 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.01338, allocations: 262.5 kB / 0.886 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.01341, allocations: 33.7 kB / 0.886 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.01352, allocations: 231.3 kB / 0.8862 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.01356, allocations: 75.41 kB / 0.8863 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.105e-05/0.01365, allocations: 79.34 kB / 0.8864 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.01377, allocations: 0.5001 MB / 0.8869 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.01392, allocations: 143.3 kB / 0.887 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.01409, allocations: 206.3 kB / 0.8872 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.01431, allocations: 235.7 kB / 0.8874 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.01431, allocations: 3.938 kB / 0.8874 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004256/0.01474, allocations: 449.1 kB / 0.8878 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.01478, allocations: 73.52 kB / 0.8879 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01479, allocations: 0 / 0.8879 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.0148, allocations: 4.156 kB / 0.8879 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.01488, allocations: 35.98 kB / 0.888 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.01489, allocations: 7.938 kB / 0.888 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.01505, allocations: 63.73 kB / 0.888 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.01508, allocations: 12 kB / 0.888 GB, free: 12.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ratioLT.booPul.y,$PRE.ratioLT.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y,timConDel.edg.u,$PRE.timConDel.edg.u,timConDel.gre1.greHys.y,$PRE.timConDel.gre1.greHys.y,timConDel.triFai) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.01518, allocations: 184.4 kB / 0.8882 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.01521, allocations: 27.86 kB / 0.8882 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.01545, allocations: 179.7 kB / 0.8884 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01545, allocations: 0 / 0.8884 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01546, allocations: 0 / 0.8884 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01546, allocations: 4 kB / 0.8884 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.01589, allocations: 0.5352 MB / 0.8889 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.01589, allocations: 0 / 0.8889 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.01595, allocations: 23.98 kB / 0.889 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.01596, allocations: 4 kB / 0.889 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.01597, allocations: 4 kB / 0.889 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01597, allocations: 12.03 kB / 0.889 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01597, allocations: 0 / 0.889 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.0162, allocations: 344.8 kB / 0.8893 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.01622, allocations: 27.84 kB / 0.8893 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.01624, allocations: 4 kB / 0.8893 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.231e-05/0.0163, allocations: 8 kB / 0.8893 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.01636, allocations: 31.83 kB / 0.8894 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.01637, allocations: 11.98 kB / 0.8894 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.325e-05/0.01647, allocations: 180.6 kB / 0.8896 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01647, allocations: 0 / 0.8896 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002412/0.01671, allocations: 83.78 kB / 0.8896 GB, free: 10.46 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,timConDel.triFai,timConDel.gre1.greHys.y,timConDel.edg.u,tOn.booPul.y,ratioLT.booPul.y) * Number of discrete states: 2 (timConDel.gre1.greHys.y,timConDel.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001386/0.01685, allocations: 117 kB / 0.8897 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.01719, allocations: 366.2 kB / 0.8901 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01719, allocations: 0 / 0.8901 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.415e-05/0.01728, allocations: 71.53 kB / 0.8902 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.01759, allocations: 69.5 kB / 0.8902 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.01815, allocations: 459.2 kB / 0.8907 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.289e-05/0.0182, allocations: 88.31 kB / 0.8908 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.222e-05/0.01826, allocations: 30.28 kB / 0.8908 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.0183, allocations: 24.44 kB / 0.8908 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of SimCode: time 8.42e-07/0.01831, allocations: 0 / 0.8908 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of Templates: time 0.006081/0.02439, allocations: 4.092 MB / 0.8948 GB, free: 5.191 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.520468509988859]