Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|trimRespondLogic.uDevSta|trimRespondLogic.numOfReq|trimRespondLogic.y|trimRespondLogic1.uDevSta|trimRespondLogic1.numOfReq|trimRespondLogic1.y|trimRespondLogic2.uDevSta|trimRespondLogic2.numOfReq|trimRespondLogic2.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|trimRespondLogic.uDevSta|trimRespondLogic.numOfReq|trimRespondLogic.y|trimRespondLogic1.uDevSta|trimRespondLogic1.numOfReq|trimRespondLogic1.y|trimRespondLogic2.uDevSta|trimRespondLogic2.numOfReq|trimRespondLogic2.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 112.7 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.478/2.478, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 59.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.846/0.8474, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond): time 0.005173/0.8527, allocations: 4.106 MB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004597/0.8573, allocations: 2.375 MB / 1.174 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006459/0.8579, allocations: 35.88 kB / 1.174 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.8584, allocations: 181.7 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.8588, allocations: 162.3 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.86, allocations: 0.6506 MB / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.8613, allocations: 1.497 MB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.8624, allocations: 0.8738 MB / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00058/0.863, allocations: 0.5564 MB / 1.177 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005443/0.8636, allocations: 0.6297 MB / 1.178 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.8638, allocations: 172 kB / 1.178 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.864, allocations: 192 kB / 1.178 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.8643, allocations: 362.8 kB / 1.179 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005346/0.8649, allocations: 0.6956 MB / 1.179 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.8665, allocations: 2.022 MB / 1.181 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.8665, allocations: 4 kB / 1.181 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8665, allocations: 0 / 1.181 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.8665, allocations: 0 / 1.181 GB, free: 5.23 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002754/0.8693, allocations: 1.627 MB / 1.183 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.8693, allocations: 8.922 kB / 1.183 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.8696, allocations: 155.2 kB / 1.183 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.8712, allocations: 0.8988 MB / 1.184 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-05/0.8713, allocations: 102.9 kB / 1.184 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.8715, allocations: 140.4 kB / 1.184 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.8733, allocations: 1.158 MB / 1.185 GB, free: 1 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.8733, allocations: 7.875 kB / 1.185 GB, free: 0.9922 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/0.8734, allocations: 55.98 kB / 1.186 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.8735, allocations: 32 kB / 1.186 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.8749, allocations: 0.7926 MB / 1.186 GB, free: 112 kB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005019/0.8799, allocations: 3.451 MB / 1.19 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.8811, allocations: 0.6563 MB / 1.19 GB, free: 11.85 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000454/0.8816, allocations: 282.9 kB / 1.191 GB, free: 11.57 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.582e-05/0.8816, allocations: 30.06 kB / 1.191 GB, free: 11.54 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009203/0.8826, allocations: 0.5397 MB / 1.191 GB, free: 10.96 MB / 0.92 GB Notification: Performance of pre-optimization done (n=94): time 4.459e-06/0.8826, allocations: 0 / 1.191 GB, free: 10.96 MB / 0.92 GB Notification: Performance of matching and sorting (n=94): time 0.001903/0.8845, allocations: 1.035 MB / 1.192 GB, free: 9.922 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.8846, allocations: 255.9 kB / 1.192 GB, free: 9.617 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008463/0.8855, allocations: 0.7306 MB / 1.193 GB, free: 8.879 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.127e-05/0.8856, allocations: 53.7 kB / 1.193 GB, free: 8.82 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004677/0.8861, allocations: 0.5924 MB / 1.194 GB, free: 8.219 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.8863, allocations: 260.4 kB / 1.194 GB, free: 7.961 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003691/0.8866, allocations: 286.7 kB / 1.194 GB, free: 7.676 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.8869, allocations: 402.7 kB / 1.195 GB, free: 7.273 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/0.8874, allocations: 283.2 kB / 1.195 GB, free: 6.996 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008701/0.8883, allocations: 0.7994 MB / 1.196 GB, free: 5.961 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.8897, allocations: 1.128 MB / 1.197 GB, free: 4.59 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.8897, allocations: 4 kB / 1.197 GB, free: 4.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.001938/0.8917, allocations: 1.189 MB / 1.198 GB, free: 3.383 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.155e-05/0.8917, allocations: 45.7 kB / 1.198 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.8918, allocations: 16.78 kB / 1.198 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.702e-05/0.8918, allocations: 27.94 kB / 1.198 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/0.8925, allocations: 223.6 kB / 1.198 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.892e-05/0.8926, allocations: 35.86 kB / 1.198 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008655/0.8935, allocations: 186.6 kB / 1.198 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.992e-05/0.8936, allocations: 71.98 kB / 1.199 GB, free: 2.781 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic2.tim.u,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic.tim.t_next,$whenCondition15,$PRE.trimRespondLogic1.tim.t_next,$whenCondition10,trimRespondLogic.tim.t_next,trimRespondLogic1.tim.t_next,trimRespondLogic1.sampler.sampleTrigger,$whenCondition8,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition9,trimRespondLogic.sampler.sampleTrigger,$whenCondition13,trimRespondLogic.uniDel.sampleTrigger,$whenCondition14,trimRespondLogic2.sampler.firstTrigger,$PRE.trimRespondLogic2.sampler.firstTrigger,$PRE.trimRespondLogic2.tim.t_next,$whenCondition5,$whenCondition1,$whenCondition2,trimRespondLogic2.tim.t_next,trimRespondLogic2.sampler.sampleTrigger,$whenCondition3,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition4,trimRespondLogic1.swi2.u2,trimRespondLogic1.not1.y,trimRespondLogic.swi2.u2,trimRespondLogic.not1.y,con.y,trimRespondLogic.greThr1.y,trimRespondLogic1.greThr1.y,reaToInt1.y,trimRespondLogic1.sampler.y,trimRespondLogic1.uniDel.y,$PRE.trimRespondLogic1.uniDel.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.greThr.y,trimRespondLogic1.tim.y,trimRespondLogic.sampler.y,trimRespondLogic.uniDel.y,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.netRes.u2,trimRespondLogic.greThr.y,trimRespondLogic.tim.y,trimRespondLogic.tim.u,$whenCondition17,$whenCondition16,trimRespondLogic1.tim.u,$whenCondition12,$whenCondition11,trimRespondLogic1.greThr2.y,trimRespondLogic1.lesThr1.y,trimRespondLogic.greThr2.y,trimRespondLogic.lesThr1.y,trimRespondLogic2.greThr1.y,reaToInt2.y,booPul.y,$PRE.booPul.y,trimRespondLogic2.sampler.y,trimRespondLogic2.uniDel.y,$PRE.trimRespondLogic2.uniDel.y,trimRespondLogic2.netRes.u2,trimRespondLogic2.greThr.y,trimRespondLogic2.tim.y,trimRespondLogic2.tim.u,$whenCondition7,$whenCondition6,trimRespondLogic2.greThr2.y,trimRespondLogic2.lesThr1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 1 * 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.0005069/0.8941, allocations: 352.5 kB / 1.199 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.8942, allocations: 98.88 kB / 1.199 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.8957, allocations: 0.8564 MB / 1.2 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.8957, allocations: 7.922 kB / 1.2 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.8957, allocations: 4 kB / 1.2 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.8959, allocations: 159.9 kB / 1.2 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.896, allocations: 27.98 kB / 1.2 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.8964, allocations: 47.94 kB / 1.2 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.8966, allocations: 84.45 kB / 1.2 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001575/0.8981, allocations: 0.9779 MB / 1.201 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001451/0.8996, allocations: 1.086 MB / 1.202 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005366/0.9002, allocations: 368.3 kB / 1.202 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004913/0.9007, allocations: 451 kB / 1.203 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of Backend: time 3.1e-07/0.9007, allocations: 0 / 1.203 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00158/0.9022, allocations: 0.7417 MB / 1.204 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of SimCode: time 0.002673/0.9049, allocations: 2.092 MB / 1.206 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.01928/0.9242, allocations: 10.55 MB / 1.216 GB, free: 0.8672 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_Generic_Validation_TrimAndRespond.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches