Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001495/0.001495, allocations: 110.4 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.001591/0.001591, allocations: 185.5 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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 71.88 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9312/0.9333, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond): time 0.00575/0.9391, allocations: 4.101 MB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004533/0.9437, allocations: 2.344 MB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.9448, allocations: 33.81 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005369/0.9453, allocations: 190.4 kB / 1.095 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004197/0.9458, allocations: 156.9 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.9476, allocations: 0.647 MB / 1.096 GB, free: 92 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002478/0.9501, allocations: 1.499 MB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.9518, allocations: 0.8672 MB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009436/0.9528, allocations: 0.549 MB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008046/0.9536, allocations: 0.6214 MB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002907/0.9539, allocations: 175 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.9542, allocations: 192.8 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003419/0.9546, allocations: 351.8 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007353/0.9553, allocations: 0.7014 MB / 1.101 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002932/0.9583, allocations: 2.014 MB / 1.103 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.9583, allocations: 2.031 kB / 1.103 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9583, allocations: 0 / 1.103 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.045e-05/0.9583, allocations: 0 / 1.103 GB, free: 12.55 MB / 0.8731 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.003726/0.9621, allocations: 1.624 MB / 1.104 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.9621, allocations: 8.438 kB / 1.104 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.9625, allocations: 157.5 kB / 1.104 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.9646, allocations: 0.8897 MB / 1.105 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.9648, allocations: 108.8 kB / 1.105 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003055/0.9651, allocations: 142.1 kB / 1.106 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.9676, allocations: 1.157 MB / 1.107 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.9676, allocations: 3.938 kB / 1.107 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.9678, allocations: 56.58 kB / 1.107 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/0.9678, allocations: 34.97 kB / 1.107 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.9695, allocations: 0.7872 MB / 1.108 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006632/0.9761, allocations: 3.505 MB / 1.111 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.9777, allocations: 0.6521 MB / 1.112 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000567/0.9783, allocations: 280.7 kB / 1.112 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-05/0.9783, allocations: 21.89 kB / 1.112 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.9794, allocations: 0.5218 MB / 1.112 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 3.226e-06/0.9794, allocations: 1.344 kB / 1.112 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.002312/0.9817, allocations: 1.007 MB / 1.113 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002237/0.982, allocations: 254.8 kB / 1.114 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.9831, allocations: 0.7285 MB / 1.114 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.356e-05/0.9832, allocations: 53.11 kB / 1.114 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005412/0.9838, allocations: 0.5917 MB / 1.115 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.984, allocations: 256.8 kB / 1.115 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004161/0.9844, allocations: 278.5 kB / 1.115 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003353/0.9848, allocations: 407 kB / 1.116 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006507/0.9854, allocations: 283.1 kB / 1.116 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.9866, allocations: 0.7831 MB / 1.117 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.9882, allocations: 1.116 MB / 1.118 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.9882, allocations: 9.188 kB / 1.118 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002386/0.9906, allocations: 1.163 MB / 1.119 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.133e-05/0.9907, allocations: 41.81 kB / 1.119 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/0.9907, allocations: 25.12 kB / 1.119 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.766e-05/0.9908, allocations: 24.59 kB / 1.119 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000807/0.9916, allocations: 218.2 kB / 1.119 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.94e-05/0.9917, allocations: 37.45 kB / 1.119 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.9927, allocations: 192.6 kB / 1.12 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.9928, allocations: 68.52 kB / 1.12 GB, free: 2.516 MB / 0.8731 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 (164): * Single equations (assignments): 163 * 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.0006828/0.9935, allocations: 348 kB / 1.12 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.9937, allocations: 96.67 kB / 1.12 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.9954, allocations: 0.8331 MB / 1.121 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.9954, allocations: 4.688 kB / 1.121 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.9954, allocations: 1.406 kB / 1.121 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.9956, allocations: 171.1 kB / 1.121 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.9958, allocations: 24 kB / 1.121 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.9961, allocations: 46.66 kB / 1.121 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.9964, allocations: 87.33 kB / 1.121 GB, free: 1.66 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001717/0.9981, allocations: 0.947 MB / 1.122 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001691/0.9998, allocations: 1.063 MB / 1.123 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007903/1.001, allocations: 368.2 kB / 1.124 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007064/1.001, allocations: 448.1 kB / 1.124 GB, free: 324 kB / 0.8731 GB Notification: Performance of Backend: time 1.373e-06/1.001, allocations: 4 kB / 1.124 GB, free: 320 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002071/1.003, allocations: 0.7426 MB / 1.125 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of SimCode: time 0.004642/1.008, allocations: 2.067 MB / 1.127 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of Templates: time 0.03669/1.045, allocations: 10.35 MB / 1.137 GB, free: 13.32 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_Generic_Validation_TrimAndRespond.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches