Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.89/1.89, allocations: 288.2 MB / 303.2 MB, free: 8.168 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.001256/0.001256, allocations: 195.3 kB / 371.8 MB, free: 10.26 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.824/1.824, allocations: 205.4 MB / 0.6305 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001025, allocations: 93.14 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003853, allocations: 10.5 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2332, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7714/1.005, allocations: 141.4 MB / 1.118 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/1.005, allocations: 75.27 kB / 1.118 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0511/1.056, allocations: 20.57 MB / 1.138 GB, free: 26.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/1.056, allocations: 0 / 1.138 GB, free: 26.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001262/1.056, allocations: 27.06 kB / 1.138 GB, free: 26.68 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.003738/1.06, allocations: 1.523 MB / 1.139 GB, free: 25.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/1.06, allocations: 15.56 kB / 1.139 GB, free: 25.58 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004962/1.061, allocations: 190 kB / 1.139 GB, free: 25.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004941/1.061, allocations: 162.4 kB / 1.14 GB, free: 25.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/1.062, allocations: 0.692 MB / 1.14 GB, free: 25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/1.063, allocations: 108.2 kB / 1.14 GB, free: 24.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/1.063, allocations: 140.6 kB / 1.14 GB, free: 24.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/1.065, allocations: 1.176 MB / 1.142 GB, free: 24.67 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/1.065, allocations: 0 / 1.142 GB, free: 24.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/1.065, allocations: 61.95 kB / 1.142 GB, free: 24.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/1.065, allocations: 30.78 kB / 1.142 GB, free: 24.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/1.067, allocations: 0.8529 MB / 1.143 GB, free: 24.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005874/1.073, allocations: 3.3 MB / 1.146 GB, free: 23.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/1.074, allocations: 0.8755 MB / 1.147 GB, free: 22.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.622e-05/1.074, allocations: 26.83 kB / 1.147 GB, free: 22.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009583/1.075, allocations: 0.607 MB / 1.147 GB, free: 22.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 4.148e-06/1.075, allocations: 0 / 1.147 GB, free: 22.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=105): time 0.002256/1.078, allocations: 1.277 MB / 1.149 GB, free: 22.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/1.078, allocations: 258.7 kB / 1.149 GB, free: 22.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/1.079, allocations: 0.8431 MB / 1.15 GB, free: 21.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/1.079, allocations: 56.36 kB / 1.15 GB, free: 21.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/1.08, allocations: 0.5298 MB / 1.15 GB, free: 21.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/1.08, allocations: 280 kB / 1.15 GB, free: 21.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/1.08, allocations: 22.22 kB / 1.15 GB, free: 21.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001951/1.08, allocations: 346.7 kB / 1.151 GB, free: 21.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006401/1.081, allocations: 318.6 kB / 1.151 GB, free: 21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007109/1.081, allocations: 0.5718 MB / 1.152 GB, free: 20.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/1.082, allocations: 382.7 kB / 1.152 GB, free: 20.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/1.082, allocations: 0 / 1.152 GB, free: 20.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001911/1.084, allocations: 1.103 MB / 1.153 GB, free: 20.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.62e-05/1.084, allocations: 37.38 kB / 1.153 GB, free: 20.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/1.084, allocations: 7.844 kB / 1.153 GB, free: 20.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-05/1.084, allocations: 15.41 kB / 1.153 GB, free: 20.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/1.085, allocations: 176.2 kB / 1.153 GB, free: 20.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.732e-05/1.085, allocations: 23.36 kB / 1.153 GB, free: 20.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008963/1.086, allocations: 204.8 kB / 1.154 GB, free: 20.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/1.086, allocations: 56.55 kB / 1.154 GB, free: 20.13 MB / 0.698 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.0006961/1.087, allocations: 327.9 kB / 1.154 GB, free: 19.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/1.087, allocations: 120.7 kB / 1.154 GB, free: 19.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/1.089, allocations: 0.9692 MB / 1.155 GB, free: 19.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/1.089, allocations: 11.69 kB / 1.155 GB, free: 19.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.089, allocations: 4 kB / 1.155 GB, free: 19.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/1.089, allocations: 11.84 kB / 1.155 GB, free: 19.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003963/1.093, allocations: 2.89 MB / 1.158 GB, free: 18.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/1.093, allocations: 3.844 kB / 1.158 GB, free: 18.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/1.093, allocations: 108.3 kB / 1.158 GB, free: 18.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.496e-05/1.093, allocations: 7.562 kB / 1.158 GB, free: 18.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.091e-05/1.093, allocations: 32.97 kB / 1.158 GB, free: 18.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/1.093, allocations: 3.906 kB / 1.158 GB, free: 18.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.093, allocations: 7.719 kB / 1.158 GB, free: 18.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/1.095, allocations: 1.299 MB / 1.159 GB, free: 17.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/1.095, allocations: 205.9 kB / 1.159 GB, free: 17.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/1.095, allocations: 30.73 kB / 1.159 GB, free: 17.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/1.096, allocations: 86.08 kB / 1.16 GB, free: 17.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/1.096, allocations: 95.05 kB / 1.16 GB, free: 17.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.041e-05/1.096, allocations: 45.05 kB / 1.16 GB, free: 17.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000818/1.097, allocations: 0.6151 MB / 1.16 GB, free: 16.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/1.097, allocations: 0 / 1.16 GB, free: 16.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001015/1.098, allocations: 262.3 kB / 1.161 GB, free: 16.38 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: 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.00252/1.101, allocations: 2.547 MB / 1.163 GB, free: 14.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001654/1.102, allocations: 0.9145 MB / 1.164 GB, free: 13.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.102, allocations: 5.875 kB / 1.164 GB, free: 13.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008156/1.103, allocations: 0.515 MB / 1.164 GB, free: 13 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008186/1.104, allocations: 127.9 kB / 1.165 GB, free: 12.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008021/1.112, allocations: 8.119 MB / 1.172 GB, free: 4.879 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009617/1.113, allocations: 1.118 MB / 1.174 GB, free: 3.734 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007473/1.114, allocations: 128.3 kB / 1.174 GB, free: 3.605 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008275/1.115, allocations: 481.4 kB / 1.174 GB, free: 3.48 MB / 0.698 GB Notification: Performance of SimCode: time 3.576e-06/1.115, allocations: 0 / 1.174 GB, free: 3.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05086/1.166, allocations: 19.16 MB / 1.193 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/1.166, allocations: 221.6 kB / 1.193 GB, free: 416 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.822/3.988, allocations: 6.812 kB / 1.193 GB, free: 412 kB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)