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.371/2.371, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001858/0.001858, allocations: 179.2 kB / 326.2 MB, free: 2.883 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.438/2.438, allocations: 205.4 MB / 0.5772 GB, free: 21.13 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.0009288/0.0009284, allocations: 100.6 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004816, allocations: 13.62 kB / 0.7958 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2153, allocations: 106.3 MB / 0.8995 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond): time 0.00525/0.2206, allocations: 3.523 MB / 0.903 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00305/0.2237, allocations: 1.073 MB / 0.904 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009409/0.2247, allocations: 19.94 kB / 0.904 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.2251, allocations: 83.06 kB / 0.9041 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000646/0.2257, allocations: 87.22 kB / 0.9042 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.2272, allocations: 315.7 kB / 0.9045 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001848/0.229, allocations: 1.131 MB / 0.9056 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.2304, allocations: 0.6519 MB / 0.9062 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006317/0.2311, allocations: 306.4 kB / 0.9065 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004593/0.2316, allocations: 389.6 kB / 0.9069 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.2317, allocations: 36 kB / 0.9069 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.2319, allocations: 40 kB / 0.907 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.232, allocations: 175.1 kB / 0.9071 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.2323, allocations: 209.1 kB / 0.9073 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.2338, allocations: 1.371 MB / 0.9087 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.2339, allocations: 0 / 0.9087 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2339, allocations: 0 / 0.9087 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.935e-05/0.2339, allocations: 0 / 0.9087 GB, free: 56.55 MB / 0.6042 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.003833/0.2378, allocations: 1.305 MB / 0.91 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.2378, allocations: 8.031 kB / 0.91 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004086/0.2382, allocations: 143.3 kB / 0.9101 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.2405, allocations: 0.7435 MB / 0.9108 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.2407, allocations: 102.7 kB / 0.9109 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.241, allocations: 132.4 kB / 0.9111 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002826/0.2438, allocations: 1.09 MB / 0.9121 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.169e-05/0.2439, allocations: 7.875 kB / 0.9121 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.2441, allocations: 51.98 kB / 0.9122 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.2441, allocations: 36 kB / 0.9122 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.2465, allocations: 0.769 MB / 0.913 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007698/0.2543, allocations: 3.344 MB / 0.9162 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.2565, allocations: 0.6907 MB / 0.9169 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007525/0.2573, allocations: 270.9 kB / 0.9172 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.877e-05/0.2574, allocations: 24.41 kB / 0.9172 GB, free: 47.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/0.2587, allocations: 0.5321 MB / 0.9177 GB, free: 46.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=94): time 4.268e-06/0.2587, allocations: 0 / 0.9177 GB, free: 46.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94): time 0.002913/0.2616, allocations: 1.048 MB / 0.9187 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.943e-05/0.2618, allocations: 259.9 kB / 0.919 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009468/0.2627, allocations: 0.6248 MB / 0.9196 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.2629, allocations: 53.69 kB / 0.9196 GB, free: 44.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/0.2633, allocations: 0.534 MB / 0.9202 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/0.2636, allocations: 257.7 kB / 0.9204 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.2637, allocations: 24 kB / 0.9204 GB, free: 44.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2638, allocations: 398.7 kB / 0.9208 GB, free: 43.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008248/0.2646, allocations: 271.9 kB / 0.9211 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.2657, allocations: 0.7998 MB / 0.9218 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.2667, allocations: 367.8 kB / 0.9222 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.2668, allocations: 8 kB / 0.9222 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00272/0.2695, allocations: 1.109 MB / 0.9233 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.2696, allocations: 12 kB / 0.9233 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/0.2696, allocations: 20 kB / 0.9233 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.447e-05/0.2697, allocations: 27.94 kB / 0.9233 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.271, allocations: 232.1 kB / 0.9236 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.84e-05/0.2711, allocations: 35.86 kB / 0.9236 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.2722, allocations: 150.8 kB / 0.9237 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.2724, allocations: 64 kB / 0.9238 GB, free: 40.38 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 82 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic2.tim.u,$PRE.trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.uniDel.firstTrigger,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.uniDel.firstTrigger,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$whenCondition14,$PRE.trimRespondLogic.tim.t_next,$whenCondition9,$PRE.trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,trimRespondLogic1.tim.t_next,$whenCondition7,trimRespondLogic1.sampler.sampleTrigger,$whenCondition8,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition12,trimRespondLogic.sampler.sampleTrigger,$whenCondition13,trimRespondLogic.uniDel.sampleTrigger,$PRE.trimRespondLogic2.uniDel.firstTrigger,trimRespondLogic2.uniDel.firstTrigger,$PRE.trimRespondLogic2.sampler.firstTrigger,trimRespondLogic2.sampler.firstTrigger,$whenCondition4,$PRE.trimRespondLogic2.tim.t_next,$whenCondition1,trimRespondLogic2.tim.t_next,$whenCondition2,trimRespondLogic2.sampler.sampleTrigger,$whenCondition3,trimRespondLogic2.uniDel.sampleTrigger,trimRespondLogic1.swi2.u2,trimRespondLogic1.not1.y,trimRespondLogic.swi2.u2,trimRespondLogic.not1.y,con.y,trimRespondLogic.tim.y,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,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,$whenCondition15,$whenCondition16,trimRespondLogic.tim.u,$whenCondition10,$whenCondition11,trimRespondLogic1.tim.u,trimRespondLogic1.greEquThr.y,trimRespondLogic1.lesEquThr1.y,trimRespondLogic.greEquThr.y,trimRespondLogic.lesEquThr1.y,$whenCondition5,$whenCondition6,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,trimRespondLogic2.greEquThr.y,trimRespondLogic2.lesEquThr1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0007124/0.2731, allocations: 346.3 kB / 0.9241 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.2733, allocations: 94.86 kB / 0.9242 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.2756, allocations: 0.8541 MB / 0.9251 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.2757, allocations: 7.922 kB / 0.9251 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.2757, allocations: 4 kB / 0.9251 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.2759, allocations: 163.8 kB / 0.9252 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.2761, allocations: 27.98 kB / 0.9253 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006986/0.2768, allocations: 47.95 kB / 0.9253 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002621/0.2771, allocations: 88.44 kB / 0.9254 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002471/0.2796, allocations: 1.009 MB / 0.9264 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002206/0.2818, allocations: 1.09 MB / 0.9274 GB, free: 36.58 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009435/0.2828, allocations: 368.2 kB / 0.9278 GB, free: 36.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006075/0.2834, allocations: 387.1 kB / 0.9282 GB, free: 35.85 MB / 0.6042 GB Notification: Performance of Backend: time 7.82e-07/0.2834, allocations: 0 / 0.9282 GB, free: 35.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.2856, allocations: 0.6614 MB / 0.9288 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of SimCode: time 0.003816/0.2895, allocations: 2.262 MB / 0.931 GB, free: 32.87 MB / 0.6042 GB Notification: Performance of Templates: time 0.02695/0.3165, allocations: 7.914 MB / 0.9387 GB, free: 25.04 MB / 0.6042 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)