Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7.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_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.289/2.289, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001369/0.001368, allocations: 180.7 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.47/2.47, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009999/0.0009993, allocations: 91.78 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004599, allocations: 12.31 kB / 0.7958 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.216, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/0.4525, allocations: 135.1 MB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.4529, allocations: 75.95 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07724/0.5302, allocations: 17.54 MB / 1.049 GB, free: 8.621 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.296e-06/0.5302, allocations: 0 / 1.049 GB, free: 8.621 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.992e-05/0.5303, allocations: 24 kB / 1.049 GB, free: 8.598 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004585/0.5349, allocations: 1.361 MB / 1.05 GB, free: 7.145 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.535, allocations: 12.03 kB / 1.05 GB, free: 7.133 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005085/0.5355, allocations: 147.2 kB / 1.05 GB, free: 6.988 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005517/0.536, allocations: 359.8 kB / 1.05 GB, free: 6.594 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.5362, allocations: 98.73 kB / 1.051 GB, free: 6.496 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003139/0.5366, allocations: 128.4 kB / 1.051 GB, free: 6.371 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/0.54, allocations: 1.129 MB / 1.052 GB, free: 5.207 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/0.5401, allocations: 4.188 kB / 1.052 GB, free: 5.203 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.5403, allocations: 59.92 kB / 1.052 GB, free: 5.145 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-05/0.5403, allocations: 32 kB / 1.052 GB, free: 5.113 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002998/0.5434, allocations: 0.8121 MB / 1.053 GB, free: 4.301 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009254/0.5527, allocations: 2.967 MB / 1.056 GB, free: 1.262 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003189/0.5559, allocations: 0.9035 MB / 1.056 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.7627/1.319, allocations: 343.8 kB / 1.057 GB, free: 4 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/1.319, allocations: 21.38 kB / 1.057 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002005/1.321, allocations: 0.6134 MB / 1.057 GB, free: 144.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=107): time 4.96e-06/1.321, allocations: 0.5938 kB / 1.057 GB, free: 144.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=107): time 0.004031/1.325, allocations: 1.281 MB / 1.059 GB, free: 144.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/1.325, allocations: 261.3 kB / 1.059 GB, free: 144.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/1.327, allocations: 0.8062 MB / 1.06 GB, free: 144.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002027/1.327, allocations: 51.23 kB / 1.06 GB, free: 144.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/1.327, allocations: 469.6 kB / 1.06 GB, free: 144 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/1.328, allocations: 283 kB / 1.06 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-05/1.328, allocations: 25.06 kB / 1.06 GB, free: 143.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.328, allocations: 350.2 kB / 1.061 GB, free: 143.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/1.329, allocations: 294.7 kB / 1.061 GB, free: 143.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/1.33, allocations: 0.5562 MB / 1.062 GB, free: 143.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/1.331, allocations: 340.3 kB / 1.062 GB, free: 143.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/1.331, allocations: 6.344 kB / 1.062 GB, free: 143.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002874/1.334, allocations: 1.007 MB / 1.063 GB, free: 143.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/1.334, allocations: 8.656 kB / 1.063 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/1.334, allocations: 8.438 kB / 1.063 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.394e-05/1.334, allocations: 14.03 kB / 1.063 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.336, allocations: 179.5 kB / 1.063 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.431e-05/1.336, allocations: 21.52 kB / 1.063 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/1.337, allocations: 143.2 kB / 1.063 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/1.337, allocations: 47.88 kB / 1.063 GB, free: 143.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic2.tim.u,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.uniDel.firstTrigger,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.uniDel.firstTrigger,$whenCondition12,$PRE.trimRespondLogic1.tim.t_next,$whenCondition7,$PRE.trimRespondLogic.tim.t_next,$whenCondition10,trimRespondLogic.uniDel.sampleTrigger,$whenCondition11,trimRespondLogic.sampler.sampleTrigger,$whenCondition15,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition16,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,$PRE.trimRespondLogic2.sampler.firstTrigger,trimRespondLogic2.sampler.firstTrigger,$PRE.trimRespondLogic2.uniDel.firstTrigger,trimRespondLogic2.uniDel.firstTrigger,$whenCondition6,$whenCondition1,$PRE.trimRespondLogic2.tim.t_next,$whenCondition4,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition5,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.tim.t_next,trimRespondLogic.lesEquThr1.y,trimRespondLogic.greEquThr.y,trimRespondLogic1.lesEquThr1.y,trimRespondLogic1.greEquThr.y,$whenCondition13,$whenCondition14,$whenCondition8,$whenCondition9,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.greEquThr1.y,trimRespondLogic.greEquThr1.y,trimRespondLogic2.lesEquThr1.y,trimRespondLogic2.greEquThr.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.pulseStart,booPul.pulseStart,reaToInt2.y,trimRespondLogic2.greEquThr1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * 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.0008629/1.338, allocations: 314.3 kB / 1.064 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/1.338, allocations: 110 kB / 1.064 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/1.341, allocations: 0.9818 MB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/1.341, allocations: 12.05 kB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/1.341, allocations: 2.938 kB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/1.341, allocations: 14.95 kB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006842/1.348, allocations: 2.827 MB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/1.348, allocations: 3.469 kB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009055/1.349, allocations: 111.1 kB / 1.068 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.826e-05/1.349, allocations: 7.047 kB / 1.068 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/1.349, allocations: 28.05 kB / 1.068 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-05/1.349, allocations: 6.891 kB / 1.068 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/1.349, allocations: 8.719 kB / 1.068 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003286/1.352, allocations: 1.196 MB / 1.069 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/1.353, allocations: 194 kB / 1.069 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/1.353, allocations: 30.55 kB / 1.069 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/1.354, allocations: 76.33 kB / 1.069 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003962/1.355, allocations: 113 kB / 1.069 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/1.355, allocations: 42.03 kB / 1.069 GB, free: 141.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001159/1.356, allocations: 0.5246 MB / 1.07 GB, free: 141.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.21e-07/1.356, allocations: 0 / 1.07 GB, free: 141.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001567/1.358, allocations: 240.1 kB / 1.07 GB, free: 141.3 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: 58 (trimRespondLogic2.tim.u,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.y,trimRespondLogic2.tim.t_next,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,trimRespondLogic2.uniDel.y,trimRespondLogic2.uniDel.firstTrigger,trimRespondLogic2.sampler.y,trimRespondLogic2.sampler.firstTrigger,booPul.pulseStart,reaToInt2.y,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic.uniDel.sampleTrigger,$whenCondition16,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,trimRespondLogic.tim.y,trimRespondLogic.tim.t_next,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.sampler.y,trimRespondLogic.sampler.firstTrigger,trimRespondLogic1.tim.y,trimRespondLogic1.tim.t_next,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.sampler.y,trimRespondLogic1.sampler.firstTrigger,reaToInt1.y,trimRespondLogic.tim.u,trimRespondLogic1.tim.u,trimRespondLogic2.lesEquThr1.y,trimRespondLogic2.greEquThr.y,trimRespondLogic.lesEquThr1.y,trimRespondLogic.greEquThr.y,trimRespondLogic1.lesEquThr1.y,trimRespondLogic1.greEquThr.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 (107): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 19 * 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.0003646/1.358, allocations: 175.1 kB / 1.07 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0029/1.361, allocations: 0.8268 MB / 1.071 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.361, allocations: 5.375 kB / 1.071 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002009/1.363, allocations: 0.5168 MB / 1.071 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/1.365, allocations: 127.3 kB / 1.072 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005344/1.37, allocations: 2.033 MB / 1.074 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007561/1.371, allocations: 1.044 MB / 1.075 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008286/1.372, allocations: 117.5 kB / 1.075 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/1.372, allocations: 89.58 kB / 1.075 GB, free: 139.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/1.372, allocations: 0 / 1.075 GB, free: 139.3 MB / 0.698 GB Notification: Performance of Templates: time 0.03207/1.404, allocations: 8.358 MB / 1.083 GB, free: 138.9 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)