Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 289.7 MB / 302.2 MB, free: 2.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 185.7 kB / 371.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.877/1.877, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009022/0.0009025, allocations: 94.77 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.739e-05/3.74e-05, allocations: 7.984 kB / 0.8663 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2962, allocations: 116.3 MB / 0.9798 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8874/1.184, allocations: 142.2 MB / 1.119 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/1.184, allocations: 76.58 kB / 1.119 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05222/1.236, allocations: 20.53 MB / 1.139 GB, free: 31.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.374e-06/1.236, allocations: 4 kB / 1.139 GB, free: 31.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001536/1.236, allocations: 31.98 kB / 1.139 GB, free: 31.62 MB / 0.7448 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.003959/1.24, allocations: 1.402 MB / 1.14 GB, free: 30.4 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.24, allocations: 8.688 kB / 1.14 GB, free: 30.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007032/1.241, allocations: 161.2 kB / 1.14 GB, free: 30.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/1.243, allocations: 0.6929 MB / 1.141 GB, free: 29.74 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/1.243, allocations: 108.8 kB / 1.141 GB, free: 29.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003344/1.243, allocations: 137.9 kB / 1.141 GB, free: 29.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/1.246, allocations: 1.143 MB / 1.142 GB, free: 28.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/1.246, allocations: 0 / 1.142 GB, free: 28.95 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/1.246, allocations: 53.25 kB / 1.143 GB, free: 28.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/1.246, allocations: 32 kB / 1.143 GB, free: 28.9 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/1.248, allocations: 0.8042 MB / 1.143 GB, free: 28.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006477/1.254, allocations: 3.296 MB / 1.147 GB, free: 26.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/1.256, allocations: 0.8451 MB / 1.147 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/1.256, allocations: 318.6 kB / 1.148 GB, free: 25.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-05/1.256, allocations: 22.25 kB / 1.148 GB, free: 25.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/1.257, allocations: 0.585 MB / 1.148 GB, free: 25.59 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=105): time 6.963e-06/1.257, allocations: 0 / 1.148 GB, free: 25.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=105): time 0.001684/1.259, allocations: 0.9244 MB / 1.149 GB, free: 24.96 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/1.259, allocations: 258 kB / 1.149 GB, free: 24.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/1.261, allocations: 0.8168 MB / 1.15 GB, free: 24.11 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/1.261, allocations: 56.39 kB / 1.15 GB, free: 24.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004858/1.261, allocations: 0.5395 MB / 1.151 GB, free: 23.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/1.261, allocations: 278.5 kB / 1.151 GB, free: 23.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/1.261, allocations: 27.12 kB / 1.151 GB, free: 23.56 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/1.262, allocations: 352.9 kB / 1.151 GB, free: 23.24 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/1.262, allocations: 298.3 kB / 1.152 GB, free: 23.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/1.263, allocations: 0.5465 MB / 1.152 GB, free: 22.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006411/1.263, allocations: 359.6 kB / 1.153 GB, free: 22.35 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/1.263, allocations: 8 kB / 1.153 GB, free: 22.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001771/1.265, allocations: 1.044 MB / 1.154 GB, free: 21.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/1.265, allocations: 40.03 kB / 1.154 GB, free: 21.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/1.265, allocations: 8.562 kB / 1.154 GB, free: 21.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.715e-05/1.265, allocations: 16 kB / 1.154 GB, free: 21.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/1.266, allocations: 175.3 kB / 1.154 GB, free: 21.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.17e-05/1.266, allocations: 18.02 kB / 1.154 GB, free: 21.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009815/1.267, allocations: 205.6 kB / 1.154 GB, free: 21.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/1.267, allocations: 48.02 kB / 1.154 GB, free: 21.2 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 72 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic2.tim.u,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$whenCondition13,$PRE.trimRespondLogic1.tim.t_next,$whenCondition8,$PRE.trimRespondLogic.tim.t_next,$whenCondition11,trimRespondLogic.uniDel.sampleTrigger,$whenCondition12,trimRespondLogic.sampler.sampleTrigger,$whenCondition16,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition17,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,$PRE.trimRespondLogic2.sampler.firstTrigger,trimRespondLogic2.sampler.firstTrigger,$whenCondition6,$whenCondition7,$whenCondition1,$PRE.trimRespondLogic2.tim.t_next,$whenCondition4,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition5,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.tim.t_next,trimRespondLogic.lesThr1.y,trimRespondLogic.greThr2.y,trimRespondLogic1.lesThr1.y,trimRespondLogic1.greThr2.y,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,trimRespondLogic.tim.u,trimRespondLogic.tim.y,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,trimRespondLogic1.tim.u,trimRespondLogic1.tim.y,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,$PRE.trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,reaToInt1.y,trimRespondLogic1.greThr1.y,trimRespondLogic.greThr1.y,trimRespondLogic2.lesThr1.y,trimRespondLogic2.greThr2.y,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.u,trimRespondLogic2.tim.y,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,$PRE.trimRespondLogic2.uniDel.y,trimRespondLogic2.uniDel.y,trimRespondLogic2.sampler.y,$PRE.booPul.y,booPul.y,reaToInt2.y,trimRespondLogic2.greThr1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003018/1.268, allocations: 229.3 kB / 1.154 GB, free: 21.01 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/1.268, allocations: 120.5 kB / 1.154 GB, free: 20.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/1.27, allocations: 0.9258 MB / 1.155 GB, free: 20.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/1.27, allocations: 15.94 kB / 1.155 GB, free: 20.35 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.27, allocations: 4.75 kB / 1.155 GB, free: 20.34 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/1.27, allocations: 5.062 kB / 1.155 GB, free: 20.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003965/1.274, allocations: 2.843 MB / 1.158 GB, free: 18.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.274, allocations: 4 kB / 1.158 GB, free: 18.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/1.274, allocations: 111.2 kB / 1.158 GB, free: 18.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/1.274, allocations: 12 kB / 1.158 GB, free: 18.42 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.325e-05/1.274, allocations: 26.75 kB / 1.158 GB, free: 18.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/1.274, allocations: 8 kB / 1.158 GB, free: 18.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.274, allocations: 5.078 kB / 1.158 GB, free: 18.4 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/1.276, allocations: 1.256 MB / 1.16 GB, free: 17.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/1.276, allocations: 201.6 kB / 1.16 GB, free: 17.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/1.276, allocations: 26.75 kB / 1.16 GB, free: 17.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006047/1.277, allocations: 90.97 kB / 1.16 GB, free: 17.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/1.277, allocations: 100.3 kB / 1.16 GB, free: 17.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.888e-05/1.277, allocations: 51.09 kB / 1.16 GB, free: 17.05 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00072/1.278, allocations: 0.6016 MB / 1.161 GB, free: 16.64 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.11e-07/1.278, allocations: 0 / 1.161 GB, free: 16.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008889/1.278, allocations: 252.2 kB / 1.161 GB, free: 16.43 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 56 (trimRespondLogic2.tim.u,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.y,trimRespondLogic2.tim.t_next,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,trimRespondLogic2.uniDel.y,trimRespondLogic2.sampler.y,trimRespondLogic2.sampler.firstTrigger,booPul.y,reaToInt2.y,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic.uniDel.sampleTrigger,$whenCondition17,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition11,$whenCondition8,$whenCondition9,$whenCondition10,trimRespondLogic.tim.y,trimRespondLogic.tim.t_next,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,trimRespondLogic.sampler.firstTrigger,trimRespondLogic1.tim.y,trimRespondLogic1.tim.t_next,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,trimRespondLogic1.sampler.firstTrigger,reaToInt1.y,trimRespondLogic.tim.u,trimRespondLogic1.tim.u,trimRespondLogic2.lesThr1.y,trimRespondLogic2.greThr2.y,trimRespondLogic.lesThr1.y,trimRespondLogic.greThr2.y,trimRespondLogic1.lesThr1.y,trimRespondLogic1.greThr2.y) * Number of discrete states: 6 (trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,trimRespondLogic1.uniDel.u,trimRespondLogic.uniDel.u,trimRespondLogic2.tim.t_next,trimRespondLogic2.uniDel.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002571/1.279, allocations: 181.6 kB / 1.161 GB, free: 16.26 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00133/1.28, allocations: 0.8812 MB / 1.162 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.28, allocations: 0 / 1.162 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007223/1.281, allocations: 0.4935 MB / 1.162 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/1.281, allocations: 129.5 kB / 1.162 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/1.284, allocations: 1.415 MB / 1.164 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/1.284, allocations: 1.122 MB / 1.165 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004433/1.285, allocations: 129.3 kB / 1.165 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/1.285, allocations: 90.64 kB / 1.165 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.285, allocations: 0 / 1.165 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of Templates: time 0.01848/1.304, allocations: 9.742 MB / 1.175 GB, free: 5.875 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)