Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.771/1.771, allocations: 288.3 MB / 303.2 MB, free: 8.152 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.001102/0.001102, allocations: 184 kB / 371.8 MB, free: 10.28 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.826/1.826, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.0008433/0.0008435, allocations: 99.69 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004747, allocations: 10.84 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2966, allocations: 115.3 MB / 0.9795 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8982/1.195, allocations: 141.3 MB / 1.117 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/1.195, allocations: 71.2 kB / 1.118 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0497/1.245, allocations: 20.57 MB / 1.138 GB, free: 26.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/1.245, allocations: 0 / 1.138 GB, free: 26.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.229e-05/1.245, allocations: 26.81 kB / 1.138 GB, free: 26.72 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.002493/1.248, allocations: 1.517 MB / 1.139 GB, free: 25.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.248, allocations: 11.67 kB / 1.139 GB, free: 25.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/1.248, allocations: 162.9 kB / 1.139 GB, free: 25.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009285/1.249, allocations: 0.6911 MB / 1.14 GB, free: 25.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/1.249, allocations: 110.8 kB / 1.14 GB, free: 25.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/1.249, allocations: 141 kB / 1.14 GB, free: 25.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/1.251, allocations: 1.181 MB / 1.141 GB, free: 24.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/1.251, allocations: 0 / 1.141 GB, free: 24.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-05/1.251, allocations: 54.8 kB / 1.141 GB, free: 24.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/1.251, allocations: 30.53 kB / 1.141 GB, free: 24.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/1.252, allocations: 0.8546 MB / 1.142 GB, free: 24.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/1.257, allocations: 3.296 MB / 1.146 GB, free: 23.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/1.258, allocations: 0.8743 MB / 1.146 GB, free: 23.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.304e-05/1.259, allocations: 15.58 kB / 1.146 GB, free: 23.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009304/1.259, allocations: 0.6128 MB / 1.147 GB, free: 22.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 3.126e-06/1.26, allocations: 0 / 1.147 GB, free: 22.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=105): time 0.002153/1.262, allocations: 1.274 MB / 1.148 GB, free: 22.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/1.262, allocations: 264.5 kB / 1.148 GB, free: 22.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009183/1.263, allocations: 0.8391 MB / 1.149 GB, free: 21.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.411e-05/1.263, allocations: 55.02 kB / 1.149 GB, free: 21.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/1.263, allocations: 0.532 MB / 1.15 GB, free: 21.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/1.263, allocations: 281.2 kB / 1.15 GB, free: 21.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/1.263, allocations: 28.09 kB / 1.15 GB, free: 21.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.264, allocations: 349 kB / 1.151 GB, free: 21.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/1.264, allocations: 320.5 kB / 1.151 GB, free: 21.13 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006872/1.265, allocations: 0.5676 MB / 1.151 GB, free: 20.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/1.266, allocations: 383.1 kB / 1.152 GB, free: 20.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.266, allocations: 3.844 kB / 1.152 GB, free: 20.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001646/1.267, allocations: 1.101 MB / 1.153 GB, free: 20.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.335e-05/1.267, allocations: 40.7 kB / 1.153 GB, free: 20.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.267, allocations: 11.55 kB / 1.153 GB, free: 20.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/1.267, allocations: 15.44 kB / 1.153 GB, free: 20.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/1.268, allocations: 173.4 kB / 1.153 GB, free: 20.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/1.268, allocations: 23.44 kB / 1.153 GB, free: 20.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007921/1.269, allocations: 208.6 kB / 1.153 GB, free: 20.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.088e-05/1.269, allocations: 57.78 kB / 1.153 GB, free: 20.25 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.0006417/1.27, allocations: 324.5 kB / 1.154 GB, free: 20.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/1.27, allocations: 116.6 kB / 1.154 GB, free: 20.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/1.271, allocations: 0.9715 MB / 1.155 GB, free: 19.85 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/1.271, allocations: 15.5 kB / 1.155 GB, free: 19.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.271, allocations: 0 / 1.155 GB, free: 19.85 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.271, allocations: 11.89 kB / 1.155 GB, free: 19.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/1.275, allocations: 2.895 MB / 1.158 GB, free: 18.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.275, allocations: 0 / 1.158 GB, free: 18.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/1.275, allocations: 104.5 kB / 1.158 GB, free: 18.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/1.275, allocations: 7.688 kB / 1.158 GB, free: 18.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.428e-05/1.275, allocations: 29.67 kB / 1.158 GB, free: 18.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/1.275, allocations: 7.828 kB / 1.158 GB, free: 18.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.275, allocations: 7.719 kB / 1.158 GB, free: 18.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/1.277, allocations: 1.305 MB / 1.159 GB, free: 17.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/1.277, allocations: 198.9 kB / 1.159 GB, free: 17.51 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/1.277, allocations: 33.98 kB / 1.159 GB, free: 17.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/1.278, allocations: 94 kB / 1.159 GB, free: 17.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/1.278, allocations: 92.69 kB / 1.159 GB, free: 17.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/1.278, allocations: 46.53 kB / 1.159 GB, free: 17.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000693/1.279, allocations: 0.6127 MB / 1.16 GB, free: 16.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/1.279, allocations: 4 kB / 1.16 GB, free: 16.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009634/1.28, allocations: 251.1 kB / 1.16 GB, free: 16.62 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.0002778/1.28, allocations: 181.5 kB / 1.16 GB, free: 16.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001523/1.281, allocations: 0.9224 MB / 1.161 GB, free: 15.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/1.282, allocations: 8.375 kB / 1.161 GB, free: 15.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007542/1.282, allocations: 0.5144 MB / 1.162 GB, free: 15.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/1.283, allocations: 131.4 kB / 1.162 GB, free: 15.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/1.286, allocations: 2.216 MB / 1.164 GB, free: 13.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007327/1.287, allocations: 1.118 MB / 1.165 GB, free: 12.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004724/1.287, allocations: 140.2 kB / 1.165 GB, free: 11.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/1.288, allocations: 90.91 kB / 1.165 GB, free: 11.9 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/1.288, allocations: 0 / 1.165 GB, free: 11.9 MB / 0.698 GB Notification: Performance of Templates: time 0.0214/1.309, allocations: 9.709 MB / 1.175 GB, free: 2.316 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)