Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.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_PR1.Generic.SetPoints.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_PR1.Generic.SetPoints.Validation.TrimAndRespond") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.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_PR1.Generic.SetPoints.Validation.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001183, allocations: 116.2 kB / 16.42 MB, free: 6.496 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.001131/0.001131, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.439/1.439, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.284/2.284, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.91 kB / 0.9516 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9524/0.9538, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond): time 0.005604/0.9595, allocations: 4.107 MB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004731/0.9642, allocations: 2.347 MB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.9657, allocations: 38.16 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005541/0.9663, allocations: 190.9 kB / 1.095 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005462/0.9668, allocations: 151.6 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.9685, allocations: 0.644 MB / 1.096 GB, free: 100 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002187/0.9707, allocations: 1.503 MB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.9723, allocations: 0.8671 MB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000954/0.9732, allocations: 0.5486 MB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008082/0.9741, allocations: 0.6251 MB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003257/0.9744, allocations: 179.1 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004024/0.9748, allocations: 188.6 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004609/0.9753, allocations: 352.9 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009318/0.9762, allocations: 0.6935 MB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003933/0.9802, allocations: 2.076 MB / 1.103 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.245e-05/0.9802, allocations: 0.7031 kB / 1.103 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.278e-06/0.9802, allocations: 1.094 kB / 1.103 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.833e-05/0.9803, 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.003967/0.9843, allocations: 1.627 MB / 1.104 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.9843, allocations: 9.719 kB / 1.104 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003739/0.9847, allocations: 160.8 kB / 1.105 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.9868, allocations: 0.8853 MB / 1.105 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.9869, allocations: 104.7 kB / 1.106 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/0.9872, allocations: 142.4 kB / 1.106 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/0.9897, allocations: 1.157 MB / 1.107 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.9897, allocations: 7.875 kB / 1.107 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.9898, allocations: 55.77 kB / 1.107 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.9898, allocations: 30.84 kB / 1.107 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.9916, allocations: 0.7874 MB / 1.108 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007334/0.9989, allocations: 3.506 MB / 1.111 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/1, allocations: 0.6469 MB / 1.112 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005914/1.001, allocations: 281 kB / 1.112 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.277e-05/1.001, allocations: 22.88 kB / 1.112 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001415/1.003, allocations: 0.5251 MB / 1.112 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 3.957e-06/1.003, allocations: 4 kB / 1.112 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.002944/1.006, allocations: 1.009 MB / 1.113 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002397/1.006, allocations: 253.7 kB / 1.114 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/1.007, allocations: 0.7299 MB / 1.114 GB, free: 6.25 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/1.007, allocations: 51.55 kB / 1.114 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000733/1.008, allocations: 0.5889 MB / 1.115 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000317/1.009, allocations: 257.6 kB / 1.115 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000513/1.009, allocations: 285.9 kB / 1.116 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003012/1.009, allocations: 407.4 kB / 1.116 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006853/1.01, allocations: 278.8 kB / 1.116 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/1.011, allocations: 0.7866 MB / 1.117 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/1.013, allocations: 1.108 MB / 1.118 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/1.013, allocations: 4.5 kB / 1.118 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002352/1.015, allocations: 1.171 MB / 1.119 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/1.015, allocations: 45.53 kB / 1.119 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-05/1.015, allocations: 20.19 kB / 1.119 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.196e-05/1.015, allocations: 25 kB / 1.119 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007728/1.016, allocations: 217.3 kB / 1.12 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.217e-05/1.016, allocations: 37.72 kB / 1.12 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/1.017, allocations: 184.8 kB / 1.12 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/1.017, allocations: 68.72 kB / 1.12 GB, free: 2.531 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.000703/1.018, allocations: 352.8 kB / 1.12 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/1.018, allocations: 95.69 kB / 1.12 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/1.02, allocations: 0.8333 MB / 1.121 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/1.02, allocations: 5.578 kB / 1.121 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.02, allocations: 0.75 kB / 1.121 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/1.02, allocations: 167.5 kB / 1.121 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/1.02, allocations: 23.08 kB / 1.121 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/1.021, allocations: 47.48 kB / 1.121 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/1.021, allocations: 87.33 kB / 1.121 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001595/1.022, allocations: 0.9507 MB / 1.122 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00154/1.024, allocations: 1.064 MB / 1.123 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006245/1.025, allocations: 370.3 kB / 1.124 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006551/1.025, allocations: 450.3 kB / 1.124 GB, free: 332 kB / 0.8731 GB Notification: Performance of Backend: time 3.9e-07/1.025, allocations: 0 / 1.124 GB, free: 332 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002098/1.027, allocations: 0.7404 MB / 1.125 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of SimCode: time 0.003372/1.031, allocations: 2.076 MB / 1.127 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of Templates: time 0.02816/1.059, allocations: 10.35 MB / 1.137 GB, free: 13.28 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches