Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00124/0.00124, allocations: 113.8 kB / 16.42 MB, free: 6.473 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.001288/0.001288, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.00144, allocations: 67.89 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9361/0.9376, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond): time 0.006505/0.9441, allocations: 4.099 MB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00522/0.9494, allocations: 2.367 MB / 1.215 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.951, allocations: 35.88 kB / 1.215 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009761/0.952, allocations: 193.6 kB / 1.215 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.9533, allocations: 146.4 kB / 1.215 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.9554, allocations: 0.6503 MB / 1.216 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002441/0.9579, allocations: 1.498 MB / 1.217 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.9597, allocations: 0.8737 MB / 1.218 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008584/0.9606, allocations: 0.5565 MB / 1.219 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000918/0.9615, allocations: 0.6336 MB / 1.219 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004238/0.962, allocations: 172 kB / 1.219 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/0.9624, allocations: 195.9 kB / 1.22 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003974/0.9629, allocations: 362.8 kB / 1.22 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008815/0.9637, allocations: 0.6878 MB / 1.221 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.966, allocations: 2.018 MB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.966, allocations: 3.984 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.764e-06/0.966, allocations: 3.938 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.81e-05/0.9661, allocations: 0 / 1.223 GB, free: 15.08 MB / 0.9512 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.003678/0.9698, allocations: 1.631 MB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.9699, allocations: 8.031 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002933/0.9702, allocations: 167.1 kB / 1.224 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.9719, allocations: 0.8833 MB / 1.225 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.37e-05/0.972, allocations: 106.9 kB / 1.225 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.9722, allocations: 144.3 kB / 1.225 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.9741, allocations: 1.158 MB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.9742, allocations: 3.938 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.9743, allocations: 55.98 kB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.9743, allocations: 32 kB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.9758, allocations: 0.7887 MB / 1.227 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005488/0.9813, allocations: 3.451 MB / 1.231 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.9827, allocations: 0.6584 MB / 1.231 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004771/0.9832, allocations: 286.9 kB / 1.232 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.793e-05/0.9832, allocations: 24.41 kB / 1.232 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008748/0.9841, allocations: 0.5476 MB / 1.232 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=94): time 3.096e-06/0.9841, allocations: 0 / 1.232 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of matching and sorting (n=94): time 0.002037/0.9862, allocations: 1.029 MB / 1.233 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.9863, allocations: 251.9 kB / 1.234 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009857/0.9873, allocations: 0.7267 MB / 1.234 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.694e-05/0.9874, allocations: 49.92 kB / 1.234 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004779/0.9879, allocations: 0.5924 MB / 1.235 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.9882, allocations: 264.4 kB / 1.235 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003796/0.9885, allocations: 290.7 kB / 1.235 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.9887, allocations: 402.7 kB / 1.236 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/0.9893, allocations: 283.2 kB / 1.236 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008458/0.9902, allocations: 0.7994 MB / 1.237 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.9916, allocations: 1.127 MB / 1.238 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.9916, allocations: 4 kB / 1.238 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.002152/0.9938, allocations: 1.178 MB / 1.239 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.9938, allocations: 45.7 kB / 1.239 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/0.9939, allocations: 16 kB / 1.239 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.046e-05/0.9939, allocations: 27.94 kB / 1.239 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000756/0.9947, allocations: 223.5 kB / 1.239 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.643e-05/0.9947, allocations: 43.84 kB / 1.239 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009351/0.9957, allocations: 186.8 kB / 1.24 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.834e-05/0.9958, allocations: 71.98 kB / 1.24 GB, free: 12.63 MB / 0.9669 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.0005704/0.9964, allocations: 353.4 kB / 1.24 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.9965, allocations: 98.86 kB / 1.24 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.9981, allocations: 0.8486 MB / 1.241 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.9981, allocations: 11.92 kB / 1.241 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.9981, allocations: 0 / 1.241 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.9983, allocations: 163.8 kB / 1.241 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.9984, allocations: 23.98 kB / 1.241 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.9988, allocations: 51.89 kB / 1.241 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.999, allocations: 88.39 kB / 1.241 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001514/1, allocations: 0.9779 MB / 1.242 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001406/1.002, allocations: 1.082 MB / 1.243 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005405/1.002, allocations: 364.3 kB / 1.244 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005404/1.003, allocations: 451 kB / 1.244 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of Backend: time 6.71e-07/1.003, allocations: 0 / 1.244 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001718/1.005, allocations: 0.7639 MB / 1.245 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002984/1.008, allocations: 2.072 MB / 1.247 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of Templates: time 0.02233/1.03, allocations: 10.55 MB / 1.257 GB, free: 10.72 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Generic_Validation_TrimAndRespond.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches