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.204/2.204, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001135/0.001135, allocations: 180 kB / 492.3 MB, free: 0.6172 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.407/1.407, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008334/0.0008336, allocations: 93.95 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.896e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2433, allocations: 142.3 MB / 1.213 GB, free: 38.33 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8124/1.056, allocations: 153.6 MB / 1.363 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/1.056, allocations: 81.47 kB / 1.363 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03751/1.094, allocations: 11.8 MB / 1.374 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/1.094, allocations: 0 / 1.374 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.001e-05/1.094, allocations: 15.38 kB / 1.374 GB, free: 34.07 MB / 0.8386 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.002417/1.096, allocations: 0.8935 MB / 1.375 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/1.096, allocations: 11.72 kB / 1.375 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003414/1.096, allocations: 114.4 kB / 1.375 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/1.097, allocations: 85.03 kB / 1.375 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/1.098, allocations: 473.1 kB / 1.376 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.969e-05/1.098, allocations: 54.12 kB / 1.376 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/1.098, allocations: 78.42 kB / 1.376 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/1.1, allocations: 0.561 MB / 1.376 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/1.1, allocations: 0 / 1.376 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.853e-05/1.1, allocations: 32.42 kB / 1.376 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/1.1, allocations: 15.28 kB / 1.376 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/1.101, allocations: 468.5 kB / 1.377 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00429/1.105, allocations: 1.957 MB / 1.379 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/1.107, allocations: 0.5081 MB / 1.379 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004355/1.107, allocations: 200.7 kB / 1.379 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.324e-05/1.107, allocations: 8.328 kB / 1.379 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000701/1.108, allocations: 353.1 kB / 1.38 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 3.988e-06/1.108, allocations: 4 kB / 1.38 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.001199/1.109, allocations: 0.5047 MB / 1.38 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/1.109, allocations: 140.7 kB / 1.38 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007914/1.11, allocations: 489.1 kB / 1.381 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.241e-05/1.11, allocations: 35.98 kB / 1.381 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/1.11, allocations: 306.3 kB / 1.381 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/1.111, allocations: 150.1 kB / 1.381 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/1.111, allocations: 14.34 kB / 1.381 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.111, allocations: 374.8 kB / 1.382 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004561/1.111, allocations: 177.5 kB / 1.382 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/1.112, allocations: 295.4 kB / 1.382 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004758/1.112, allocations: 217.6 kB / 1.382 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/1.112, allocations: 7.562 kB / 1.382 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001354/1.114, allocations: 0.5907 MB / 1.383 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/1.114, allocations: 41.5 kB / 1.383 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.114, allocations: 4 kB / 1.383 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/1.114, allocations: 7.594 kB / 1.383 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/1.114, allocations: 96.31 kB / 1.383 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/1.114, allocations: 7.812 kB / 1.383 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007803/1.115, allocations: 130.2 kB / 1.383 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.812e-05/1.115, allocations: 22.89 kB / 1.383 GB, free: 30.58 MB / 0.8386 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 () * 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.0001779/1.115, allocations: 169.5 kB / 1.383 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/1.116, allocations: 62.31 kB / 1.383 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/1.117, allocations: 0.5337 MB / 1.384 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/1.117, allocations: 3.844 kB / 1.384 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.117, allocations: 3.812 kB / 1.384 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/1.117, allocations: 3.984 kB / 1.384 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/1.119, allocations: 1.533 MB / 1.386 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/1.119, allocations: 3.719 kB / 1.386 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/1.12, allocations: 75.69 kB / 1.386 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/1.12, allocations: 7.906 kB / 1.386 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/1.12, allocations: 23.44 kB / 1.386 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/1.12, allocations: 3.844 kB / 1.386 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.12, allocations: 0 / 1.386 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/1.121, allocations: 0.6472 MB / 1.386 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/1.121, allocations: 143 kB / 1.386 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/1.121, allocations: 10.97 kB / 1.386 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000529/1.122, allocations: 61.38 kB / 1.386 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/1.122, allocations: 57.73 kB / 1.387 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.617e-05/1.122, allocations: 26.3 kB / 1.387 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004967/1.122, allocations: 356.6 kB / 1.387 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.91e-07/1.122, allocations: 0 / 1.387 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00074/1.123, allocations: 154.7 kB / 1.387 GB, free: 28.91 MB / 0.8386 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) * 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.00158/1.125, allocations: 1.366 MB / 1.388 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.126, allocations: 0.5309 MB / 1.389 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.126, allocations: 4.062 kB / 1.389 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004999/1.126, allocations: 269.9 kB / 1.389 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/1.127, allocations: 71.17 kB / 1.389 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/1.129, allocations: 0.8749 MB / 1.39 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005713/1.13, allocations: 0.9068 MB / 1.391 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003994/1.13, allocations: 63.14 kB / 1.391 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/1.131, allocations: 238.5 kB / 1.391 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of SimCode: time 1.212e-06/1.131, allocations: 0 / 1.391 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03276/1.164, allocations: 11.47 MB / 1.402 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/1.164, allocations: 195.9 kB / 1.403 GB, free: 20.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/3.317, allocations: 0 / 1.403 GB, free: 20.27 MB / 0.8386 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