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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001402/0.001402, allocations: 191.5 kB / 377.1 MB, free: 1.527 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.765/1.765, allocations: 205.4 MB / 0.6366 GB, free: 8.613 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009016/0.0009017, allocations: 98.06 kB / 0.7509 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005332/0.0005333, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2964, allocations: 116.3 MB / 0.9885 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7108/1.007, allocations: 142.3 MB / 1.127 GB, free: 33.03 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/1.008, allocations: 79.64 kB / 1.128 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05617/1.064, allocations: 20.56 MB / 1.148 GB, free: 19.19 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.535e-06/1.064, allocations: 0 / 1.148 GB, free: 19.19 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001058/1.064, allocations: 28 kB / 1.148 GB, free: 19.16 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.003665/1.068, allocations: 1.522 MB / 1.149 GB, free: 17.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.068, allocations: 8.031 kB / 1.149 GB, free: 17.72 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005107/1.068, allocations: 193.8 kB / 1.149 GB, free: 17.56 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004406/1.069, allocations: 160 kB / 1.149 GB, free: 17.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/1.07, allocations: 0.691 MB / 1.15 GB, free: 16.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.473e-05/1.07, allocations: 110.5 kB / 1.15 GB, free: 16.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/1.07, allocations: 139.9 kB / 1.15 GB, free: 16.53 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/1.072, allocations: 1.183 MB / 1.152 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/1.072, allocations: 3.984 kB / 1.152 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.603e-05/1.072, allocations: 55.05 kB / 1.152 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/1.072, allocations: 33.59 kB / 1.152 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/1.074, allocations: 0.8527 MB / 1.152 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005016/1.079, allocations: 3.289 MB / 1.156 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/1.08, allocations: 0.8858 MB / 1.157 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.335e-05/1.08, allocations: 12.56 kB / 1.157 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009151/1.081, allocations: 0.6195 MB / 1.157 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=105): time 2.785e-06/1.081, allocations: 0 / 1.157 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of matching and sorting (n=105): time 0.002146/1.083, allocations: 1.274 MB / 1.158 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/1.083, allocations: 263.7 kB / 1.159 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009058/1.084, allocations: 0.8334 MB / 1.159 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.252e-05/1.084, allocations: 57.69 kB / 1.16 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/1.085, allocations: 0.5358 MB / 1.16 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/1.085, allocations: 280.2 kB / 1.16 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/1.085, allocations: 20 kB / 1.16 GB, free: 6.324 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.787e-05/1.085, allocations: 349.9 kB / 1.161 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/1.086, allocations: 319.5 kB / 1.161 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006486/1.086, allocations: 0.5662 MB / 1.162 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005988/1.087, allocations: 392.1 kB / 1.162 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.087, allocations: 4 kB / 1.162 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001613/1.088, allocations: 1.089 MB / 1.163 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/1.089, allocations: 45.75 kB / 1.163 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.089, allocations: 8 kB / 1.163 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/1.089, allocations: 16 kB / 1.163 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/1.089, allocations: 171.7 kB / 1.163 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/1.089, allocations: 19.94 kB / 1.163 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008313/1.09, allocations: 206.7 kB / 1.163 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-05/1.09, allocations: 56.86 kB / 1.163 GB, free: 2.984 MB / 0.7292 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.0006326/1.091, allocations: 329.4 kB / 1.164 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/1.091, allocations: 118.6 kB / 1.164 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/1.093, allocations: 0.9738 MB / 1.165 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/1.093, allocations: 12 kB / 1.165 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.093, allocations: 0 / 1.165 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/1.093, allocations: 7.984 kB / 1.165 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/1.096, allocations: 2.896 MB / 1.168 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.096, allocations: 0 / 1.168 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/1.097, allocations: 115.8 kB / 1.168 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/1.097, allocations: 4.938 kB / 1.168 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.577e-05/1.097, allocations: 31.97 kB / 1.168 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/1.097, allocations: 4 kB / 1.168 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.097, allocations: 4 kB / 1.168 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/1.099, allocations: 1.307 MB / 1.169 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/1.099, allocations: 203.5 kB / 1.169 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/1.099, allocations: 23.98 kB / 1.169 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/1.1, allocations: 87.88 kB / 1.169 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/1.1, allocations: 100.4 kB / 1.17 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.928e-05/1.1, allocations: 47.97 kB / 1.17 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008472/1.101, allocations: 0.6119 MB / 1.17 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.101, allocations: 4 kB / 1.17 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001032/1.102, allocations: 256 kB / 1.17 GB, free: 11.64 MB / 0.7448 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.002529/1.104, allocations: 2.545 MB / 1.173 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001907/1.106, allocations: 0.924 MB / 1.174 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.106, allocations: 0 / 1.174 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008703/1.107, allocations: 0.5158 MB / 1.174 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007486/1.108, allocations: 129.8 kB / 1.174 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007003/1.115, allocations: 8.109 MB / 1.182 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000785/1.116, allocations: 1.122 MB / 1.183 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005729/1.116, allocations: 136.3 kB / 1.184 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006329/1.117, allocations: 475.3 kB / 1.184 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of SimCode: time 1.352e-06/1.117, allocations: 0 / 1.184 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04098/1.158, allocations: 19.13 MB / 1.203 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/1.158, allocations: 216.7 kB / 1.203 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/3.97, allocations: 3.938 kB / 1.203 GB, free: 10.21 MB / 0.7761 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)