Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_SupplyTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_SupplyTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.3 MB / 405.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 163.6 kB / 498.1 MB, free: 5.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.1 MB / 0.7948 GB, free: 18.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008753/0.0008751, allocations: 105.6 kB / 0.9346 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 8.844 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3049, allocations: 142.4 MB / 1.223 GB, free: 89.37 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2079/0.5129, allocations: 153.6 MB / 1.373 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.5132, allocations: 79.94 kB / 1.373 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03127/0.5445, allocations: 11.83 MB / 1.385 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5445, allocations: 0 / 1.385 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.057e-05/0.5446, allocations: 12 kB / 1.385 GB, free: 3.57 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00171/0.5463, allocations: 0.9649 MB / 1.386 GB, free: 2.547 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.5464, allocations: 8.031 kB / 1.386 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.5465, allocations: 110.5 kB / 1.386 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.5466, allocations: 87.02 kB / 1.386 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000646/0.5473, allocations: 476.9 kB / 1.386 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.84e-05/0.5474, allocations: 61.31 kB / 1.386 GB, free: 1.766 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-05/0.5475, allocations: 68 kB / 1.386 GB, free: 1.699 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.5486, allocations: 0.6077 MB / 1.387 GB, free: 1.09 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.5486, allocations: 4 kB / 1.387 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.056e-05/0.5487, allocations: 28 kB / 1.387 GB, free: 1.059 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.5487, allocations: 16 kB / 1.387 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.5498, allocations: 0.5244 MB / 1.388 GB, free: 0.5156 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003104/0.5529, allocations: 1.957 MB / 1.389 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.5541, allocations: 0.5596 MB / 1.39 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.5541, allocations: 4.438 kB / 1.39 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007256/0.5549, allocations: 387.4 kB / 1.39 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=57): time 2.414e-06/0.5549, allocations: 0 / 1.39 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of matching and sorting (n=57): time 0.001571/0.5565, allocations: 0.7756 MB / 1.391 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.5566, allocations: 145.1 kB / 1.391 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005907/0.5572, allocations: 485.9 kB / 1.392 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.5572, allocations: 41.7 kB / 1.392 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.5575, allocations: 300.8 kB / 1.392 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.5576, allocations: 153.9 kB / 1.392 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.5577, allocations: 16 kB / 1.392 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5578, allocations: 370.8 kB / 1.393 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/0.5583, allocations: 213.1 kB / 1.393 GB, free: 11 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.5588, allocations: 326.5 kB / 1.393 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/0.5593, allocations: 254.4 kB / 1.393 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5594, allocations: 0 / 1.393 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001228/0.5606, allocations: 0.6685 MB / 1.394 GB, free: 9.703 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.5606, allocations: 38.58 kB / 1.394 GB, free: 9.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5607, allocations: 384 / 1.394 GB, free: 9.66 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.5607, allocations: 12 kB / 1.394 GB, free: 9.648 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004299/0.5611, allocations: 95.81 kB / 1.394 GB, free: 9.555 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.5611, allocations: 19.92 kB / 1.394 GB, free: 9.535 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.5617, allocations: 131.4 kB / 1.394 GB, free: 9.406 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/0.5618, allocations: 23.98 kB / 1.394 GB, free: 9.383 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.conTSupSet.maxSupTemRes.tim.u,$PRE.conTSupSet.maxSupTemRes.sampler.firstTrigger,conTSupSet.maxSupTemRes.sampler.firstTrigger,$whenCondition6,$whenCondition7,$whenCondition1,$PRE.conTSupSet.maxSupTemRes.tim.t_next,$whenCondition4,conTSupSet.maxSupTemRes.uniDel.sampleTrigger,$whenCondition5,conTSupSet.maxSupTemRes.sampler.sampleTrigger,conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.lesThr1.y,conTSupSet.maxSupTemRes.greThr2.y,$whenCondition2,$whenCondition3,conTSupSet.uOpeMod,conTSupSet.uZonTemResReq,conTSupSet.maxSupTemRes.tim.u,conTSupSet.maxSupTemRes.tim.y,conTSupSet.maxSupTemRes.greThr.y,conTSupSet.maxSupTemRes.netRes.u2,$PRE.conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.sampler.y,conTSupSet.and1.u1,conTSupSet.and1.u2,conTSupSet.and1.y,conTSupSet.and2.u1,conTSupSet.and2.u2,conTSupSet.and2.y,conTSupSet.intEqu.y,$PRE.supFanSta.y,supFanSta.y,conTSupSet.maxSupTemRes.greThr1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0003079/0.5621, allocations: 229.7 kB / 1.395 GB, free: 9.148 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.143e-05/0.5622, allocations: 63.25 kB / 1.395 GB, free: 9.086 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.5633, allocations: 0.5989 MB / 1.395 GB, free: 8.484 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.5634, allocations: 4 kB / 1.395 GB, free: 8.48 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5634, allocations: 4 kB / 1.395 GB, free: 8.477 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.5634, allocations: 7.938 kB / 1.395 GB, free: 8.469 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.5656, allocations: 1.603 MB / 1.397 GB, free: 6.797 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5656, allocations: 3.938 kB / 1.397 GB, free: 6.793 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.5659, allocations: 79.83 kB / 1.397 GB, free: 6.715 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.566, allocations: 3.953 kB / 1.397 GB, free: 6.711 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.566, allocations: 19.98 kB / 1.397 GB, free: 6.691 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.566, allocations: 0 / 1.397 GB, free: 6.691 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.566, allocations: 4 kB / 1.397 GB, free: 6.688 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.5671, allocations: 0.7121 MB / 1.398 GB, free: 5.938 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.5673, allocations: 152.2 kB / 1.398 GB, free: 5.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.111e-05/0.5674, allocations: 12 kB / 1.398 GB, free: 5.758 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.5677, allocations: 59.94 kB / 1.398 GB, free: 5.699 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.5679, allocations: 56.48 kB / 1.398 GB, free: 5.645 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/0.5679, allocations: 27.98 kB / 1.398 GB, free: 5.617 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000412/0.5683, allocations: 362.9 kB / 1.398 GB, free: 5.266 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5683, allocations: 0 / 1.398 GB, free: 5.266 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004908/0.5688, allocations: 135.8 kB / 1.398 GB, free: 5.133 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 29 (conTSupSet.maxSupTemRes.tim.u,conTSupSet.maxSupTemRes.sampler.sampleTrigger,conTSupSet.maxSupTemRes.uniDel.sampleTrigger,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,conTSupSet.uOpeMod,conTSupSet.uZonTemResReq,conTSupSet.maxSupTemRes.tim.y,conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.greThr.y,conTSupSet.maxSupTemRes.netRes.u2,conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.sampler.y,conTSupSet.maxSupTemRes.sampler.firstTrigger,conTSupSet.and1.u1,conTSupSet.and1.u2,conTSupSet.and1.y,conTSupSet.and2.u1,conTSupSet.and2.u2,conTSupSet.and2.y,conTSupSet.intEqu.y,supFanSta.y,conTSupSet.maxSupTemRes.lesThr1.y,conTSupSet.maxSupTemRes.greThr2.y) * Number of discrete states: 2 (conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.uniDel.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001553/0.5704, allocations: 1.454 MB / 1.4 GB, free: 3.641 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.5716, allocations: 0.5997 MB / 1.4 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5716, allocations: 3.938 kB / 1.4 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005282/0.5721, allocations: 299.9 kB / 1.401 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.5725, allocations: 67.78 kB / 1.401 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5122/1.085, allocations: 3.526 MB / 1.404 GB, free: 170.2 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/1.085, allocations: 0.9094 MB / 1.405 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004335/1.086, allocations: 69.62 kB / 1.405 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/1.086, allocations: 236.1 kB / 1.405 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of SimCode: time 1.122e-06/1.086, allocations: 1.125 kB / 1.405 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/1.12, allocations: 11.26 MB / 1.416 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/1.12, allocations: 231.9 kB / 1.417 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.553, allocations: 0 / 1.417 GB, free: 168.7 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_SupplyTemperature_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_SupplyTemperature.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature_res.mat does not exist to compare? outputFormat=mat