Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001447/0.001447, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001575/0.001575, allocations: 219 kB / 22.26 MB, free: 5.121 MB / 14.72 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 1.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.474/3.474, allocations: 0.4899 GB / 0.7951 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 61.66 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.454, allocations: 176.1 MB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.003348/0.4574, allocations: 1.42 MB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002887/0.4603, allocations: 1.533 MB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002908/0.4606, allocations: 4 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.4608, allocations: 35.53 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.4609, allocations: 55.52 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.462, allocations: 328.8 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005888/0.4625, allocations: 468.2 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003053/0.4629, allocations: 137.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.4631, allocations: 183.5 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.4633, allocations: 171.2 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.53e-05/0.4634, allocations: 52 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.4636, allocations: 71.98 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.158e-05/0.4636, allocations: 75.7 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.4638, allocations: 179.2 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000757/0.4646, allocations: 0.5777 MB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4646, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4646, allocations: 4 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.4646, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001186/0.4658, allocations: 0.5828 MB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4659, allocations: 12.03 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.4661, allocations: 44.69 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.4665, allocations: 239.7 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.4665, allocations: 25.03 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/0.4666, allocations: 36.31 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.467, allocations: 238.6 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.467, allocations: 192 / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.4671, allocations: 15.94 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.4671, allocations: 8 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.4674, allocations: 158.6 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.4689, allocations: 0.8392 MB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.4692, allocations: 152.4 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.4693, allocations: 68.88 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.4694, allocations: 4 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.4696, allocations: 135.3 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.844e-06/0.4696, allocations: 4 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005167/0.4701, allocations: 247 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.4702, allocations: 59.41 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.4705, allocations: 265 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.4705, allocations: 33.7 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.4707, allocations: 177 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.4708, allocations: 71.36 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.4709, allocations: 73.69 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4711, allocations: 338.8 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.4713, allocations: 120.2 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.4716, allocations: 161.7 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.472, allocations: 273.1 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.472, allocations: 0 / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007056/0.4727, allocations: 424.7 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.137e-05/0.4727, allocations: 75.39 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4728, allocations: 3.938 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.4728, allocations: 8.156 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.4729, allocations: 31.92 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.4729, allocations: 4 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.4733, allocations: 71.72 kB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.4734, allocations: 19.98 kB / 1.336 GB, free: 6.938 MB / 1.029 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 (30): * Single equations (assignments): 28 * 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.0001965/0.4736, allocations: 158.3 kB / 1.336 GB, free: 6.773 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.4736, allocations: 35.78 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.474, allocations: 202.7 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.474, allocations: 7.938 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.474, allocations: 0 / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.474, allocations: 3.984 kB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007641/0.4748, allocations: 0.6028 MB / 1.337 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4748, allocations: 0 / 1.337 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.4749, allocations: 27.92 kB / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.4749, allocations: 0 / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.4749, allocations: 8 kB / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4749, allocations: 0 / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4749, allocations: 4 kB / 1.337 GB, free: 5.824 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.4753, allocations: 313.9 kB / 1.338 GB, free: 5.492 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.4753, allocations: 31.78 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.4754, allocations: 8 kB / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.4755, allocations: 7.984 kB / 1.338 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/0.4756, allocations: 23.92 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.4756, allocations: 11.94 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002184/0.4758, allocations: 192.5 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4758, allocations: 0 / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003617/0.4762, allocations: 67.83 kB / 1.338 GB, free: 5.152 MB / 1.029 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 (22): * Single equations (assignments): 20 * 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.0001985/0.4764, allocations: 128.7 kB / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005841/0.477, allocations: 340.3 kB / 1.338 GB, free: 4.664 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.477, allocations: 320 / 1.338 GB, free: 4.664 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.4771, allocations: 79.86 kB / 1.338 GB, free: 4.586 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.4776, allocations: 60.38 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009172/0.4785, allocations: 467.2 kB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.479, allocations: 0.7597 MB / 1.34 GB, free: 3.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.8e-05/0.4791, allocations: 26.28 kB / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.4792, allocations: 23.44 kB / 1.34 GB, free: 3.199 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4792, allocations: 0 / 1.34 GB, free: 3.199 MB / 1.029 GB Notification: Performance of Templates: time 0.009175/0.4883, allocations: 4.035 MB / 1.344 GB, free: 15.27 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.718045130837709]