Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001397/0.001397, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.0016/0.0016, allocations: 211.1 kB / 23 MB, free: 4.934 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 3.383/3.383, allocations: 0.505 GB / 0.8109 GB, free: 23.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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_latest_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_latest_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.002419/0.002419, allocations: 63.92 kB / 1.178 GB, free: 16.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.41, allocations: 180.2 MB / 1.354 GB, free: 7.504 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess): time 0.005334/0.4154, allocations: 2.986 MB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002822/0.4182, allocations: 1.29 MB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007254/0.4189, allocations: 23.88 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.4193, allocations: 114.7 kB / 1.358 GB, free: 3.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.4197, allocations: 91.19 kB / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.421, allocations: 0.5672 MB / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001223/0.4222, allocations: 1.113 MB / 1.36 GB, free: 1.305 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007959/0.423, allocations: 486 kB / 1.361 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004374/0.4234, allocations: 398.8 kB / 1.361 GB, free: 420 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004356/0.4238, allocations: 410.1 kB / 1.361 GB, free: 8 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.424, allocations: 144 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.4242, allocations: 155.9 kB / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.4244, allocations: 235.4 kB / 1.362 GB, free: 15.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.4248, allocations: 374.5 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.4265, allocations: 1.674 MB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4265, allocations: 0 / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4265, allocations: 0 / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.4265, allocations: 0 / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.001908/0.4284, allocations: 1.049 MB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4285, allocations: 8.031 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.4287, allocations: 100.4 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.4297, allocations: 0.5571 MB / 1.365 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.611e-05/0.4297, allocations: 62.38 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.4299, allocations: 100.4 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.4311, allocations: 0.6964 MB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.4312, allocations: 3.938 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.636e-05/0.4312, allocations: 39.98 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.4313, allocations: 16 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009171/0.4322, allocations: 0.4997 MB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.4356, allocations: 1.876 MB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008199/0.4364, allocations: 441.3 kB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000415/0.4368, allocations: 208.2 kB / 1.369 GB, free: 7.656 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.4369, allocations: 16.42 kB / 1.369 GB, free: 7.641 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006214/0.4375, allocations: 361.8 kB / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=67): time 2.725e-06/0.4375, allocations: 0 / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=67): time 0.001333/0.4388, allocations: 0.732 MB / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.4389, allocations: 72.05 kB / 1.37 GB, free: 6.449 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.4393, allocations: 361.4 kB / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.785e-05/0.4394, allocations: 61.69 kB / 1.371 GB, free: 6.027 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.4397, allocations: 344.9 kB / 1.371 GB, free: 5.684 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.4398, allocations: 178.6 kB / 1.371 GB, free: 5.508 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/0.4401, allocations: 190.6 kB / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.4403, allocations: 362.7 kB / 1.372 GB, free: 4.953 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004939/0.4408, allocations: 293.3 kB / 1.372 GB, free: 4.652 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006505/0.4414, allocations: 480 kB / 1.373 GB, free: 4.105 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008742/0.4423, allocations: 0.6055 MB / 1.373 GB, free: 3.418 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4423, allocations: 7.938 kB / 1.373 GB, free: 3.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001432/0.4437, allocations: 0.8602 MB / 1.374 GB, free: 2.523 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.4438, allocations: 71.39 kB / 1.374 GB, free: 2.441 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4438, allocations: 8.031 kB / 1.374 GB, free: 2.434 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.4438, allocations: 8 kB / 1.374 GB, free: 2.426 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.4442, allocations: 91.81 kB / 1.374 GB, free: 2.336 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.146e-05/0.4442, allocations: 8 kB / 1.374 GB, free: 2.328 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005744/0.4448, allocations: 115.5 kB / 1.374 GB, free: 2.215 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.224e-05/0.4449, allocations: 47.86 kB / 1.374 GB, free: 2.168 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 74 ($PRE.resPro.norTimDel.tunEndDel.u,relSwi.y,$PRE.relSwi.y,$whenCondition15,$whenCondition16,$PRE.resPro.norTimDel.tunEndDel.t_next,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,resPro.norTimDel.tunEndDel.t_next,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,$whenCondition13,$whenCondition14,resPro.norTimDel.and1.y,con1.y,con.y,resPro.norTimDel.tunEndDel.u,resPro.norTimDel.tunEndDel.y,resPro.norTimDel.or2.y,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,$whenCondition12,$whenCondition11,tunEnd.clr,tunSta.clr,tunEnd.y,$PRE.tunEnd.y,tunEnd.u,tunSta.y,$PRE.tunSta.y,tunSta.u,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 99 * 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.0004232/0.4453, allocations: 286 kB / 1.375 GB, free: 1.879 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.4454, allocations: 55.61 kB / 1.375 GB, free: 1.824 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.4464, allocations: 0.5846 MB / 1.375 GB, free: 1.234 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.4464, allocations: 3.984 kB / 1.375 GB, free: 1.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4464, allocations: 4 kB / 1.375 GB, free: 1.227 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.4466, allocations: 91.55 kB / 1.375 GB, free: 1.137 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.931e-05/0.4467, allocations: 23.94 kB / 1.375 GB, free: 1.113 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.4469, allocations: 23.97 kB / 1.375 GB, free: 1.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.447, allocations: 56.56 kB / 1.376 GB, free: 1.035 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001066/0.4481, allocations: 0.6455 MB / 1.376 GB, free: 392 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001022/0.4491, allocations: 0.7396 MB / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003496/0.4494, allocations: 225.1 kB / 1.377 GB, free: 15.4 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002379/0.4497, allocations: 219.2 kB / 1.377 GB, free: 15.19 MB / 1.076 GB Notification: Performance of Backend: time 5.21e-07/0.4497, allocations: 0 / 1.377 GB, free: 15.19 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.451, allocations: 0.6406 MB / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of SimCode: time 0.001948/0.4529, allocations: 1.389 MB / 1.379 GB, free: 13.06 MB / 1.076 GB Notification: Performance of Templates: time 0.01568/0.4686, allocations: 8.021 MB / 1.387 GB, free: 5.188 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_ResponseProcess.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.646304357003828]