Running: ./testmodel.py --libraries=/var/lib/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("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.73/2.73, allocations: 284.8 MB / 297.3 MB, free: 6.281 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001961/0.001961, allocations: 172.9 kB / 365.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.1 MB / 0.6241 GB, free: 8.188 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 94.2 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.553e-05/3.568e-05, allocations: 4 kB / 0.8575 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8318/0.8318, allocations: 115.2 MB / 0.97 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2444/1.076, allocations: 141.1 MB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/1.077, allocations: 73.03 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1012/1.178, allocations: 20.54 MB / 1.128 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.833e-06/1.178, allocations: 0 / 1.128 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001203/1.178, allocations: 31.98 kB / 1.128 GB, free: 6.867 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.00449/1.183, allocations: 1.399 MB / 1.129 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/1.183, allocations: 12.03 kB / 1.129 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006642/1.183, allocations: 171.6 kB / 1.13 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/1.185, allocations: 0.6783 MB / 1.13 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/1.185, allocations: 110.5 kB / 1.13 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003549/1.186, allocations: 136 kB / 1.13 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/1.189, allocations: 1.138 MB / 1.132 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-05/1.189, allocations: 3.938 kB / 1.132 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/1.19, allocations: 59.98 kB / 1.132 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/1.19, allocations: 32 kB / 1.132 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/1.192, allocations: 0.8013 MB / 1.132 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01051/1.203, allocations: 3.303 MB / 1.136 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00266/1.206, allocations: 0.8474 MB / 1.136 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/1.207, allocations: 311.4 kB / 1.137 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/1.207, allocations: 21.09 kB / 1.137 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/1.208, allocations: 0.5947 MB / 1.137 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=105): time 4.548e-06/1.208, allocations: 0 / 1.137 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=105): time 0.003029/1.211, allocations: 0.9187 MB / 1.138 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001984/1.212, allocations: 251.9 kB / 1.138 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/1.214, allocations: 0.8218 MB / 1.139 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002678/1.214, allocations: 57.89 kB / 1.139 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007456/1.215, allocations: 0.5394 MB / 1.14 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004183/1.215, allocations: 280.2 kB / 1.14 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/1.215, allocations: 24 kB / 1.14 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001962/1.215, allocations: 349.9 kB / 1.14 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/1.216, allocations: 302.5 kB / 1.141 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/1.218, allocations: 0.5429 MB / 1.141 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/1.219, allocations: 364.9 kB / 1.142 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/1.219, allocations: 4 kB / 1.142 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003128/1.222, allocations: 1.043 MB / 1.143 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.014e-05/1.222, allocations: 41.69 kB / 1.143 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/1.222, allocations: 8.875 kB / 1.143 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.279e-05/1.222, allocations: 19.94 kB / 1.143 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.224, allocations: 175.7 kB / 1.143 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.443e-05/1.224, allocations: 27.88 kB / 1.143 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/1.225, allocations: 194.9 kB / 1.143 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/1.225, allocations: 51.98 kB / 1.143 GB, free: 6.77 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.0004437/1.226, allocations: 216.6 kB / 1.143 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003377/1.226, allocations: 122.5 kB / 1.143 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/1.229, allocations: 0.9312 MB / 1.144 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/1.229, allocations: 16 kB / 1.144 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/1.229, allocations: 5.219 kB / 1.144 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/1.229, allocations: 7.938 kB / 1.144 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006847/1.236, allocations: 2.848 MB / 1.147 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/1.236, allocations: 4.031 kB / 1.147 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009423/1.237, allocations: 103.8 kB / 1.147 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/1.237, allocations: 8 kB / 1.147 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/1.237, allocations: 27.98 kB / 1.147 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/1.237, allocations: 4 kB / 1.147 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/1.237, allocations: 7.938 kB / 1.147 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/1.24, allocations: 1.256 MB / 1.149 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/1.241, allocations: 203.5 kB / 1.149 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/1.241, allocations: 35.94 kB / 1.149 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.242, allocations: 79.94 kB / 1.149 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003331/1.242, allocations: 105 kB / 1.149 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/1.243, allocations: 43.92 kB / 1.149 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00139/1.244, allocations: 0.6038 MB / 1.15 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.21e-07/1.244, allocations: 0 / 1.15 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001509/1.246, allocations: 252.2 kB / 1.15 GB, free: 15.68 MB / 0.7605 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.0004165/1.246, allocations: 191 kB / 1.15 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002723/1.249, allocations: 0.8711 MB / 1.151 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.046e-06/1.249, allocations: 6.594 kB / 1.151 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/1.25, allocations: 0.4986 MB / 1.151 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/1.252, allocations: 135.1 kB / 1.152 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/1.256, allocations: 1.408 MB / 1.153 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/1.257, allocations: 1.118 MB / 1.154 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0009384/1.258, allocations: 132.3 kB / 1.154 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/1.259, allocations: 91.41 kB / 1.154 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of SimCode: time 1.313e-06/1.259, allocations: 0 / 1.154 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of Templates: time 0.03551/1.294, allocations: 9.718 MB / 1.164 GB, free: 1.602 MB / 0.7605 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)