Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0_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.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.525/2.525, allocations: 287.5 MB / 303.2 MB, free: 8.203 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.001411/0.00141, allocations: 191.9 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000921/0.0009207, allocations: 93.72 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.000463, allocations: 12.53 kB / 0.8668 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2026, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9719/1.175, allocations: 141.2 MB / 1.117 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/1.175, allocations: 77.88 kB / 1.117 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08587/1.261, allocations: 20.63 MB / 1.137 GB, free: 26.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.036e-06/1.261, allocations: 0 / 1.137 GB, free: 26.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.528e-05/1.261, allocations: 34.84 kB / 1.137 GB, free: 26.97 MB / 0.698 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.00458/1.266, allocations: 1.501 MB / 1.139 GB, free: 25.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.266, allocations: 7.094 kB / 1.139 GB, free: 25.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006136/1.266, allocations: 164.2 kB / 1.139 GB, free: 25.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/1.268, allocations: 0.7205 MB / 1.14 GB, free: 25.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/1.268, allocations: 108.9 kB / 1.14 GB, free: 25.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002797/1.268, allocations: 141.7 kB / 1.14 GB, free: 25.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003374/1.272, allocations: 1.189 MB / 1.141 GB, free: 25.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/1.272, allocations: 4.188 kB / 1.141 GB, free: 25.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/1.272, allocations: 58.61 kB / 1.141 GB, free: 25.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/1.272, allocations: 30.91 kB / 1.141 GB, free: 25.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002776/1.275, allocations: 0.8546 MB / 1.142 GB, free: 24.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009193/1.284, allocations: 3.291 MB / 1.145 GB, free: 23.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/1.287, allocations: 0.8882 MB / 1.146 GB, free: 23.24 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/1.288, allocations: 332.1 kB / 1.147 GB, free: 23.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.642e-05/1.288, allocations: 19.36 kB / 1.147 GB, free: 23.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001616/1.29, allocations: 0.6243 MB / 1.147 GB, free: 22.92 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 5.411e-06/1.29, allocations: 0 / 1.147 GB, free: 22.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=105): time 0.004217/1.294, allocations: 1.274 MB / 1.148 GB, free: 22.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002771/1.294, allocations: 246.8 kB / 1.149 GB, free: 22.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/1.296, allocations: 0.9484 MB / 1.15 GB, free: 22.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003123/1.297, allocations: 56.89 kB / 1.15 GB, free: 22.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005851/1.297, allocations: 0.5319 MB / 1.15 GB, free: 21.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/1.297, allocations: 281.1 kB / 1.15 GB, free: 21.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/1.298, allocations: 20.22 kB / 1.15 GB, free: 21.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001869/1.298, allocations: 362 kB / 1.151 GB, free: 21.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/1.299, allocations: 315.3 kB / 1.151 GB, free: 21.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/1.3, allocations: 0.5707 MB / 1.152 GB, free: 20.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/1.302, allocations: 0.871 MB / 1.152 GB, free: 20.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-05/1.302, allocations: 7.781 kB / 1.152 GB, free: 20.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00349/1.306, allocations: 1.098 MB / 1.154 GB, free: 20.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.182e-05/1.306, allocations: 33.39 kB / 1.154 GB, free: 20.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/1.306, allocations: 11.19 kB / 1.154 GB, free: 20.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.453e-05/1.306, allocations: 12.12 kB / 1.154 GB, free: 20.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/1.308, allocations: 182.9 kB / 1.154 GB, free: 20.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-05/1.308, allocations: 15.09 kB / 1.154 GB, free: 20.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/1.309, allocations: 198.1 kB / 1.154 GB, free: 20.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002488/1.31, allocations: 52.72 kB / 1.154 GB, free: 20.08 MB / 0.698 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.001108/1.311, allocations: 344.2 kB / 1.154 GB, free: 19.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003352/1.311, allocations: 120.3 kB / 1.154 GB, free: 19.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/1.314, allocations: 0.9733 MB / 1.155 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/1.314, allocations: 11.38 kB / 1.155 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/1.314, allocations: 3.781 kB / 1.155 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/1.314, allocations: 3.984 kB / 1.155 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006854/1.321, allocations: 2.898 MB / 1.158 GB, free: 18.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.321, allocations: 0 / 1.158 GB, free: 18.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008858/1.322, allocations: 107 kB / 1.158 GB, free: 18.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/1.322, allocations: 11.81 kB / 1.158 GB, free: 18.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/1.322, allocations: 26.98 kB / 1.158 GB, free: 18.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/1.322, allocations: 7.781 kB / 1.158 GB, free: 18.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/1.322, allocations: 7.828 kB / 1.158 GB, free: 18.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/1.326, allocations: 1.193 MB / 1.16 GB, free: 17.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007217/1.326, allocations: 206.5 kB / 1.16 GB, free: 17.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005335/1.327, allocations: 32.58 kB / 1.16 GB, free: 17.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.328, allocations: 79.06 kB / 1.16 GB, free: 17.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003422/1.329, allocations: 102.8 kB / 1.16 GB, free: 17.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/1.329, allocations: 44.45 kB / 1.16 GB, free: 17.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001193/1.33, allocations: 0.6151 MB / 1.161 GB, free: 17.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.61e-07/1.33, allocations: 0 / 1.161 GB, free: 17.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002426/1.332, allocations: 253.8 kB / 1.161 GB, free: 17.02 MB / 0.698 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.0004023/1.333, allocations: 182.2 kB / 1.161 GB, free: 16.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003861/1.337, allocations: 0.9226 MB / 1.162 GB, free: 16.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/1.337, allocations: 0 / 1.162 GB, free: 16.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002619/1.339, allocations: 0.5114 MB / 1.162 GB, free: 15.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/1.343, allocations: 142.7 kB / 1.163 GB, free: 15.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006298/1.349, allocations: 2.241 MB / 1.165 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009371/1.35, allocations: 1.091 MB / 1.166 GB, free: 12.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008801/1.351, allocations: 136.3 kB / 1.166 GB, free: 12.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004002/1.352, allocations: 90.03 kB / 1.166 GB, free: 12.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.243e-06/1.352, allocations: 0 / 1.166 GB, free: 12.3 MB / 0.698 GB Notification: Performance of Templates: time 0.03422/1.386, allocations: 9.739 MB / 1.176 GB, free: 2.68 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)