Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.196/2.196, allocations: 390.3 MB / 402.8 MB, free: 6.727 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.001391/0.001391, allocations: 180.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.0008673/0.0008673, allocations: 103.4 kB / 0.9318 GB, free: 5.672 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.53e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2213, allocations: 143 MB / 1.219 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8373/1.059, allocations: 154.4 MB / 1.37 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/1.059, allocations: 78.44 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03197/1.091, allocations: 11.81 MB / 1.381 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/1.091, allocations: 0 / 1.381 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.39e-05/1.091, allocations: 16 kB / 1.381 GB, free: 5.715 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.002183/1.093, allocations: 0.8908 MB / 1.382 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.093, allocations: 8.031 kB / 1.382 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002726/1.093, allocations: 107.9 kB / 1.382 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/1.094, allocations: 91 kB / 1.382 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008274/1.095, allocations: 473.4 kB / 1.383 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.265e-05/1.095, allocations: 61.88 kB / 1.383 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/1.095, allocations: 69.12 kB / 1.383 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/1.096, allocations: 0.5614 MB / 1.384 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/1.096, allocations: 0 / 1.384 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/1.096, allocations: 28.98 kB / 1.384 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/1.096, allocations: 16 kB / 1.384 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008603/1.097, allocations: 464.5 kB / 1.384 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003374/1.1, allocations: 1.961 MB / 1.386 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009907/1.101, allocations: 0.5092 MB / 1.386 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/1.102, allocations: 197.8 kB / 1.387 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.509e-05/1.102, allocations: 20.48 kB / 1.387 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000538/1.102, allocations: 342.5 kB / 1.387 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 2.454e-06/1.102, allocations: 0 / 1.387 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.0009306/1.103, allocations: 0.5065 MB / 1.387 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/1.103, allocations: 149 kB / 1.388 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005943/1.104, allocations: 483.7 kB / 1.388 GB, free: 404 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.929e-05/1.104, allocations: 41.52 kB / 1.388 GB, free: 364 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/1.104, allocations: 298.4 kB / 1.388 GB, free: 160 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/1.104, allocations: 149.8 kB / 1.389 GB, free: 32 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/1.104, allocations: 14.88 kB / 1.389 GB, free: 28 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.105, allocations: 367.2 kB / 1.389 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/1.105, allocations: 181.8 kB / 1.389 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/1.105, allocations: 299.2 kB / 1.389 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/1.106, allocations: 215.8 kB / 1.39 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.106, allocations: 0 / 1.39 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001005/1.107, allocations: 0.6064 MB / 1.39 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/1.107, allocations: 37.69 kB / 1.39 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.107, allocations: 4 kB / 1.39 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/1.107, allocations: 7.938 kB / 1.39 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/1.107, allocations: 107.9 kB / 1.39 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/1.107, allocations: 11.94 kB / 1.39 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/1.108, allocations: 121.9 kB / 1.39 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/1.108, allocations: 30.8 kB / 1.39 GB, free: 14.4 MB / 0.8542 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.0001743/1.108, allocations: 159.8 kB / 1.391 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.108, allocations: 59.25 kB / 1.391 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000908/1.109, allocations: 0.5329 MB / 1.391 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.128e-06/1.109, allocations: 8 kB / 1.391 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.109, allocations: 0 / 1.391 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.109, allocations: 7.938 kB / 1.391 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/1.112, allocations: 1.543 MB / 1.393 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.112, allocations: 0 / 1.393 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/1.112, allocations: 71.27 kB / 1.393 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/1.112, allocations: 7.953 kB / 1.393 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/1.112, allocations: 14.92 kB / 1.393 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/1.112, allocations: 4 kB / 1.393 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.112, allocations: 4.062 kB / 1.393 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008468/1.113, allocations: 0.6438 MB / 1.393 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/1.113, allocations: 142.8 kB / 1.394 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.473e-05/1.113, allocations: 18.36 kB / 1.394 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/1.114, allocations: 55.33 kB / 1.394 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/1.114, allocations: 62.03 kB / 1.394 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/1.114, allocations: 26.98 kB / 1.394 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003953/1.114, allocations: 359 kB / 1.394 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/1.114, allocations: 0 / 1.394 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005113/1.115, allocations: 148.9 kB / 1.394 GB, free: 11.31 MB / 0.8542 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.001354/1.116, allocations: 1.365 MB / 1.396 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008662/1.117, allocations: 0.5313 MB / 1.396 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.117, allocations: 0 / 1.396 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004002/1.117, allocations: 268.7 kB / 1.396 GB, free: 9.496 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/1.118, allocations: 72.14 kB / 1.396 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/1.12, allocations: 0.8764 MB / 1.397 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/1.12, allocations: 0.9077 MB / 1.398 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002839/1.121, allocations: 68.67 kB / 1.398 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/1.121, allocations: 233.9 kB / 1.398 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/1.121, allocations: 0 / 1.398 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/1.15, allocations: 11.48 MB / 1.41 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/1.15, allocations: 199.6 kB / 1.41 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/3.336, allocations: 3.938 kB / 1.41 GB, free: 12.17 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_SupplyTemperature_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_SupplyTemperature.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature_res.mat does not exist to compare? outputFormat=mat