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.857/1.857, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001444/0.001445, allocations: 185 kB / 377.1 MB, free: 1.523 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.76/1.76, allocations: 205.4 MB / 0.6367 GB, free: 8.625 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.0009396/0.0009396, allocations: 93.86 kB / 0.751 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004007, allocations: 8 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3165, allocations: 116.3 MB / 0.9884 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8866/1.203, allocations: 142.3 MB / 1.127 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/1.203, allocations: 74.53 kB / 1.127 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05578/1.259, allocations: 20.56 MB / 1.148 GB, free: 19.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.384e-06/1.259, allocations: 4 kB / 1.148 GB, free: 19.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.136e-05/1.259, allocations: 24 kB / 1.148 GB, free: 19.27 MB / 0.7292 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.002632/1.262, allocations: 1.517 MB / 1.149 GB, free: 17.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.262, allocations: 12.02 kB / 1.149 GB, free: 17.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/1.262, allocations: 170 kB / 1.149 GB, free: 17.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/1.263, allocations: 0.6893 MB / 1.15 GB, free: 17.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.054e-05/1.264, allocations: 112.6 kB / 1.15 GB, free: 16.92 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/1.264, allocations: 139.8 kB / 1.15 GB, free: 16.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/1.266, allocations: 1.184 MB / 1.151 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/1.266, allocations: 0 / 1.151 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/1.266, allocations: 55.23 kB / 1.151 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/1.266, allocations: 28 kB / 1.151 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/1.267, allocations: 0.8569 MB / 1.152 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004724/1.272, allocations: 3.293 MB / 1.155 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/1.273, allocations: 0.8808 MB / 1.156 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.022e-05/1.274, allocations: 21.09 kB / 1.156 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009186/1.274, allocations: 0.6195 MB / 1.157 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=105): time 2.966e-06/1.274, allocations: 0 / 1.157 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of matching and sorting (n=105): time 0.002002/1.276, allocations: 1.274 MB / 1.158 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/1.277, allocations: 255.8 kB / 1.158 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009017/1.277, allocations: 0.8407 MB / 1.159 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-05/1.278, allocations: 57.83 kB / 1.159 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/1.278, allocations: 0.5356 MB / 1.16 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/1.278, allocations: 277.4 kB / 1.16 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/1.278, allocations: 24 kB / 1.16 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.029e-05/1.278, allocations: 349.9 kB / 1.16 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/1.279, allocations: 318.5 kB / 1.161 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/1.279, allocations: 0.5662 MB / 1.161 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005883/1.28, allocations: 388.1 kB / 1.162 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/1.28, allocations: 4 kB / 1.162 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001663/1.282, allocations: 1.097 MB / 1.163 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.71e-05/1.282, allocations: 33.7 kB / 1.163 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.282, allocations: 8 kB / 1.163 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/1.282, allocations: 16 kB / 1.163 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006434/1.282, allocations: 179.6 kB / 1.163 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/1.282, allocations: 15.94 kB / 1.163 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007589/1.283, allocations: 207.6 kB / 1.163 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.933e-05/1.283, allocations: 51.97 kB / 1.163 GB, free: 3.258 MB / 0.7292 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 () * Number of clocked 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.0004859/1.284, allocations: 333.4 kB / 1.164 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/1.284, allocations: 118.5 kB / 1.164 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/1.285, allocations: 0.9738 MB / 1.165 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.285, allocations: 15.94 kB / 1.165 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.285, allocations: 0 / 1.165 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/1.285, allocations: 11.98 kB / 1.165 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003425/1.289, allocations: 2.889 MB / 1.167 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/1.289, allocations: 4.656 kB / 1.167 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/1.289, allocations: 111.8 kB / 1.168 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/1.289, allocations: 8 kB / 1.168 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/1.289, allocations: 23.98 kB / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/1.289, allocations: 11.98 kB / 1.168 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.289, allocations: 4 kB / 1.168 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/1.291, allocations: 1.308 MB / 1.169 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/1.292, allocations: 205 kB / 1.169 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/1.292, allocations: 27.98 kB / 1.169 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005581/1.292, allocations: 87.88 kB / 1.169 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/1.293, allocations: 100.4 kB / 1.169 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/1.293, allocations: 43.97 kB / 1.169 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008725/1.294, allocations: 0.6148 MB / 1.17 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.294, allocations: 0 / 1.17 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009122/1.295, allocations: 257 kB / 1.17 GB, free: 11.91 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) * Number of clocked states: 0 () * 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.0003302/1.295, allocations: 175.5 kB / 1.17 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001691/1.297, allocations: 0.9174 MB / 1.171 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.297, allocations: 4 kB / 1.171 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009034/1.298, allocations: 0.5145 MB / 1.172 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/1.298, allocations: 137.7 kB / 1.172 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/1.302, allocations: 2.22 MB / 1.174 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007766/1.302, allocations: 1.119 MB / 1.175 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004602/1.303, allocations: 128.3 kB / 1.175 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/1.303, allocations: 91.41 kB / 1.175 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of SimCode: time 3.1e-07/1.303, allocations: 0 / 1.175 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.0194/1.323, allocations: 9.708 MB / 1.185 GB, free: 12.91 MB / 0.7605 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)