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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 105.2 kB / 16.36 MB, free: 6.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001057, allocations: 191.1 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.861/1.861, allocations: 292.3 MB / 0.5496 GB, free: 17.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 59.91 kB / 0.673 GB, free: 5.766 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2877, allocations: 114.6 MB / 0.7848 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond): time 0.5169/0.8047, allocations: 4.195 MB / 0.7889 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003916/0.8086, allocations: 2.366 MB / 0.7912 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000788/0.8094, allocations: 32.53 kB / 0.7913 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005311/0.81, allocations: 190.2 kB / 0.7914 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.8104, allocations: 161.5 kB / 0.7916 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.8118, allocations: 0.6491 MB / 0.7922 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001291/0.8131, allocations: 1.533 MB / 0.7937 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.8143, allocations: 0.8728 MB / 0.7946 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006053/0.8149, allocations: 0.5542 MB / 0.7951 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004865/0.8154, allocations: 0.645 MB / 0.7958 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.8156, allocations: 177.5 kB / 0.7959 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.8158, allocations: 194 kB / 0.7961 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.8161, allocations: 366.7 kB / 0.7965 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004831/0.8165, allocations: 0.7045 MB / 0.7971 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.8184, allocations: 2.137 MB / 0.7992 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8184, allocations: 0 / 0.7992 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8184, allocations: 0 / 0.7992 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4e-05/0.8184, allocations: 0.5312 kB / 0.7992 GB, free: 43.4 MB / 0.6544 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.002961/0.8214, allocations: 1.676 MB / 0.8009 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.8215, allocations: 10.72 kB / 0.8009 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.8217, allocations: 163.2 kB / 0.801 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.8234, allocations: 0.9113 MB / 0.8019 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.83e-05/0.8235, allocations: 113.2 kB / 0.802 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.8237, allocations: 138.3 kB / 0.8022 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.8257, allocations: 1.159 MB / 0.8033 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.8258, allocations: 6.375 kB / 0.8033 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.449e-05/0.8259, allocations: 54.97 kB / 0.8034 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.8259, allocations: 34.34 kB / 0.8034 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.8274, allocations: 0.809 MB / 0.8042 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005874/0.8333, allocations: 3.563 MB / 0.8077 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.8348, allocations: 0.6729 MB / 0.8083 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/0.8352, allocations: 264.6 kB / 0.8086 GB, free: 38.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.903e-05/0.8353, allocations: 16.88 kB / 0.8086 GB, free: 38.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009577/0.8363, allocations: 0.5279 MB / 0.8091 GB, free: 38.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=92): time 2.765e-06/0.8363, allocations: 0 / 0.8091 GB, free: 38.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=92): time 0.002187/0.8385, allocations: 1.041 MB / 0.8101 GB, free: 37.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.076e-05/0.8386, allocations: 254.2 kB / 0.8104 GB, free: 37.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.8397, allocations: 0.7712 MB / 0.8111 GB, free: 37.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.357e-05/0.8398, allocations: 51.61 kB / 0.8112 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/0.8402, allocations: 0.6155 MB / 0.8118 GB, free: 36.49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.8404, allocations: 258.4 kB / 0.812 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004135/0.8408, allocations: 278.1 kB / 0.8123 GB, free: 36.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.841, allocations: 410 kB / 0.8127 GB, free: 35.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006234/0.8416, allocations: 290.2 kB / 0.8129 GB, free: 35.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009534/0.8426, allocations: 0.7957 MB / 0.8137 GB, free: 34.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.844, allocations: 1.118 MB / 0.8148 GB, free: 33.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/0.844, allocations: 5.969 kB / 0.8148 GB, free: 33.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.0022/0.8462, allocations: 1.192 MB / 0.816 GB, free: 33.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/0.8463, allocations: 45.06 kB / 0.816 GB, free: 33.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/0.8463, allocations: 23.59 kB / 0.816 GB, free: 33.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.97e-05/0.8464, allocations: 33.09 kB / 0.8161 GB, free: 33.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007607/0.8471, allocations: 212.7 kB / 0.8163 GB, free: 33.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.774e-05/0.8472, allocations: 37.83 kB / 0.8163 GB, free: 33.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.8482, allocations: 182.6 kB / 0.8165 GB, free: 33.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.8484, allocations: 72.2 kB / 0.8166 GB, free: 33.26 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic2.tim.u,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic.tim.t_next,$whenCondition15,$PRE.trimRespondLogic1.tim.t_next,$whenCondition10,trimRespondLogic.tim.t_next,trimRespondLogic1.tim.t_next,trimRespondLogic1.sampler.sampleTrigger,$whenCondition8,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition9,trimRespondLogic.sampler.sampleTrigger,$whenCondition13,trimRespondLogic.uniDel.sampleTrigger,$whenCondition14,trimRespondLogic2.sampler.firstTrigger,$PRE.trimRespondLogic2.sampler.firstTrigger,$PRE.trimRespondLogic2.tim.t_next,$whenCondition5,$whenCondition1,$whenCondition2,trimRespondLogic2.tim.t_next,trimRespondLogic2.sampler.sampleTrigger,$whenCondition3,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition4,trimRespondLogic1.swi2.u2,trimRespondLogic1.not1.y,trimRespondLogic.swi2.u2,trimRespondLogic.not1.y,con.y,trimRespondLogic.greThr1.y,trimRespondLogic1.greThr1.y,reaToInt1.y,trimRespondLogic1.sampler.y,trimRespondLogic1.uniDel.y,$PRE.trimRespondLogic1.uniDel.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.greThr.y,trimRespondLogic1.tim.y,trimRespondLogic.sampler.y,trimRespondLogic.uniDel.y,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.netRes.u2,trimRespondLogic.greThr.y,trimRespondLogic.tim.y,trimRespondLogic.tim.u,$whenCondition17,$whenCondition16,trimRespondLogic1.tim.u,$whenCondition12,$whenCondition11,trimRespondLogic1.greThr2.y,trimRespondLogic1.lesThr1.y,trimRespondLogic.greThr2.y,trimRespondLogic.lesThr1.y,trimRespondLogic2.greThr1.y,reaToInt2.y,booPul.y,$PRE.booPul.y,trimRespondLogic2.sampler.y,trimRespondLogic2.uniDel.y,$PRE.trimRespondLogic2.uniDel.y,trimRespondLogic2.netRes.u2,trimRespondLogic2.greThr.y,trimRespondLogic2.tim.y,trimRespondLogic2.tim.u,$whenCondition7,$whenCondition6,trimRespondLogic2.greThr2.y,trimRespondLogic2.lesThr1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006152/0.849, allocations: 352.8 kB / 0.8169 GB, free: 33 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.8491, allocations: 103.2 kB / 0.817 GB, free: 32.95 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.8508, allocations: 0.8486 MB / 0.8178 GB, free: 32.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/0.8508, allocations: 6.219 kB / 0.8178 GB, free: 32.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.8508, allocations: 4 kB / 0.8178 GB, free: 32.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.851, allocations: 180.8 kB / 0.818 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.8511, allocations: 22.5 kB / 0.818 GB, free: 32.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.8514, allocations: 47.56 kB / 0.8181 GB, free: 32.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.8516, allocations: 85.92 kB / 0.8182 GB, free: 32.39 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001528/0.8532, allocations: 0.9738 MB / 0.8191 GB, free: 31.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001432/0.8546, allocations: 1.083 MB / 0.8202 GB, free: 31.35 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005919/0.8552, allocations: 374.7 kB / 0.8205 GB, free: 31.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006236/0.8558, allocations: 475.3 kB / 0.821 GB, free: 31 MB / 0.6544 GB Notification: Performance of Backend: time 9.52e-07/0.8559, allocations: 1.125 kB / 0.821 GB, free: 31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001848/0.8577, allocations: 0.7479 MB / 0.8217 GB, free: 30.67 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002992/0.8607, allocations: 2.13 MB / 0.8238 GB, free: 29.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.0263/0.887, allocations: 10.53 MB / 0.8341 GB, free: 27.84 MB / 0.6544 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)