Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess.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.002065/0.002065, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002421/0.002421, allocations: 216.9 kB / 23 MB, free: 4.969 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.4/3.4, allocations: 0.49 GB / 0.7959 GB, free: 35.67 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.Relay.Validation.ResponseProcess,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relSwi.y|resPro.tOn|resPro.tOff|tunSta.y|tunEnd.y|resSig.y|resPro.tau",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relSwi.y|resPro.tOn|resPro.tOff|tunSta.y|tunEnd.y|resSig.y|resPro.tau",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess") [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.002146/0.002146, allocations: 72.95 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4301, allocations: 176.1 MB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess): time 0.005418/0.4355, allocations: 2.957 MB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002646/0.4382, allocations: 1.255 MB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000411/0.4386, allocations: 27.81 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.4389, allocations: 114.8 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.4392, allocations: 83.16 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.4403, allocations: 0.5503 MB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001132/0.4414, allocations: 1.066 MB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008483/0.4423, allocations: 481.9 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004662/0.4427, allocations: 382.8 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000454/0.4432, allocations: 386.2 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.4434, allocations: 136 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.4436, allocations: 152 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.4438, allocations: 223.4 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.4442, allocations: 362.5 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.446, allocations: 1.607 MB / 1.337 GB, free: 7.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.446, allocations: 0 / 1.337 GB, free: 7.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.303e-06/0.446, allocations: 0 / 1.337 GB, free: 7.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.446, allocations: 4 kB / 1.337 GB, free: 7.266 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.001984/0.448, allocations: 1.013 MB / 1.338 GB, free: 6.207 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4481, allocations: 8.031 kB / 1.338 GB, free: 6.199 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.4482, allocations: 96.36 kB / 1.338 GB, free: 6.105 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.4493, allocations: 0.5337 MB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.4494, allocations: 62.38 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.4495, allocations: 92.36 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.4508, allocations: 0.6695 MB / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.4508, allocations: 7.922 kB / 1.339 GB, free: 4.703 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.52e-05/0.4509, allocations: 32 kB / 1.339 GB, free: 4.672 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.4509, allocations: 20 kB / 1.339 GB, free: 4.652 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000955/0.4519, allocations: 495.8 kB / 1.34 GB, free: 4.168 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.4552, allocations: 1.836 MB / 1.341 GB, free: 2.281 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007813/0.456, allocations: 426.4 kB / 1.342 GB, free: 1.859 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.4564, allocations: 194.1 kB / 1.342 GB, free: 1.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.3e-05/0.4564, allocations: 8.422 kB / 1.342 GB, free: 1.652 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00056/0.457, allocations: 324.1 kB / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=59): time 3.076e-06/0.457, allocations: 0 / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=59): time 0.001155/0.4581, allocations: 0.6101 MB / 1.343 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.4582, allocations: 63.91 kB / 1.343 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004014/0.4586, allocations: 344.2 kB / 1.343 GB, free: 288 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.774e-05/0.4587, allocations: 53.7 kB / 1.343 GB, free: 228 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/0.459, allocations: 340.8 kB / 1.344 GB, free: 15.88 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.4592, allocations: 162.7 kB / 1.344 GB, free: 15.72 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.4594, allocations: 170.6 kB / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4596, allocations: 354.8 kB / 1.344 GB, free: 15.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004495/0.4601, allocations: 273.2 kB / 1.344 GB, free: 14.92 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/0.4607, allocations: 436 kB / 1.345 GB, free: 14.42 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008471/0.4615, allocations: 0.5556 MB / 1.345 GB, free: 13.79 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.4615, allocations: 0 / 1.345 GB, free: 13.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001412/0.4629, allocations: 0.7868 MB / 1.346 GB, free: 12.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.732e-05/0.463, allocations: 71.39 kB / 1.346 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.463, allocations: 4 kB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.463, allocations: 8.5 kB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.4633, allocations: 79.78 kB / 1.346 GB, free: 12.81 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.4634, allocations: 8 kB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.4639, allocations: 115.5 kB / 1.346 GB, free: 12.69 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/0.464, allocations: 35.98 kB / 1.347 GB, free: 12.65 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 60 (relSwi.y,$PRE.relSwi.y,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,tunEnd.y,tunEnd.u,tunSta.y,resPro.tunMon.greThr1.y,resPro.tunMon.edgTunEnd.u,$PRE.resPro.tunMon.edgTunEnd.u,resPro.tunMon.edgTunSta.u,$PRE.resPro.tunMon.edgTunSta.u,resPro.tunMon.tDec.y,resPro.tunMon.tInc.y,resPro.tunMon.samAddtOntOff.y,$PRE.resPro.tunMon.samAddtOntOff.y,resPro.onOffPer.timOffRec.yRec.y,$PRE.resPro.onOffPer.timOffRec.yRec.y,resPro.onOffPer.timOnRec.yRec.y,$PRE.resPro.onOffPer.timOnRec.yRec.y,resPro.triSta,$whenCondition1,$whenCondition2,$whenCondition7,resPro.norTimDel.gre.greHys.y,$PRE.resPro.norTimDel.gre.greHys.y,resPro.halPerRatio.tOffSam.y,$PRE.resPro.halPerRatio.tOffSam.y,resPro.halPerRatio.tOnSam.y,$PRE.resPro.halPerRatio.tOnSam.y,resSig.y,$PRE.resSig.y,resPro.onOffPer.timOffRec.edgThr.y,resPro.onOffPer.timOffRec.edgThr.u,$PRE.resPro.onOffPer.timOffRec.edgThr.u,resPro.onOffPer.timOffRec.edgRes.u,$PRE.resPro.onOffPer.timOffRec.edgRes.u,resPro.onOffPer.timOffRec.samTri.y,resPro.onOffPer.timOffRec.samTri.u2,resPro.onOffPer.timOnRec.edgThr.y,resPro.onOffPer.timOnRec.edgThr.u,$PRE.resPro.onOffPer.timOnRec.edgThr.u,resPro.onOffPer.timOnRec.edgRes.u,$PRE.resPro.onOffPer.timOnRec.edgRes.u,resPro.onOffPer.timOnRec.samTri.y,resPro.onOffPer.timOnRec.samTri.u2,resPro.onOffPer.timOff.y,$PRE.resPro.onOffPer.timOff.y,resPro.onOffPer.timOn.y,$PRE.resPro.onOffPer.timOn.y,$whenCondition8,$whenCondition9,resPro.norTimDel.or2.u2,resPro.norTimDel.and1.y,con1.y,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * 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.0004172/0.4644, allocations: 282.1 kB / 1.347 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.801e-05/0.4645, allocations: 43.72 kB / 1.347 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000879/0.4654, allocations: 0.4949 MB / 1.347 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.4654, allocations: 3.984 kB / 1.347 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4654, allocations: 0 / 1.347 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.4655, allocations: 83.56 kB / 1.347 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.4656, allocations: 23.92 kB / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.4658, allocations: 15.98 kB / 1.347 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.4659, allocations: 56.41 kB / 1.348 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001004/0.4669, allocations: 0.548 MB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009439/0.4678, allocations: 0.6532 MB / 1.349 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003032/0.4681, allocations: 191.8 kB / 1.349 GB, free: 10.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002266/0.4684, allocations: 207.1 kB / 1.349 GB, free: 10.03 MB / 1.045 GB Notification: Performance of Backend: time 2.51e-07/0.4684, allocations: 0 / 1.349 GB, free: 10.03 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.4696, allocations: 0.5964 MB / 1.35 GB, free: 9.387 MB / 1.045 GB Notification: Performance of SimCode: time 0.002063/0.4716, allocations: 1.363 MB / 1.351 GB, free: 7.973 MB / 1.045 GB Notification: Performance of Templates: time 0.01592/0.4875, allocations: 7.318 MB / 1.358 GB, free: 0.8008 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_ResponseProcess.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess.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.839845110996976]