Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.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.VentilationZones.ASHRAE62_1.Validation.Setpoints,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints",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.359/2.359, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001285/0.001286, allocations: 187.2 kB / 0.4901 GB, free: 2.273 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.575/1.575, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0008907/0.0008906, allocations: 92.27 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005089/0.000509, allocations: 10.59 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3143, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.196/0.5104, allocations: 153.9 MB / 1.38 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.5106, allocations: 75.95 kB / 1.38 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.07424/0.5849, allocations: 28.4 MB / 1.407 GB, free: 3 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.168e-06/0.585, allocations: 3.938 kB / 1.407 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001319/0.5851, allocations: 52 kB / 1.407 GB, free: 2.945 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.004362/0.5895, allocations: 2.053 MB / 1.409 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.5895, allocations: 12.03 kB / 1.41 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005174/0.5901, allocations: 295.7 kB / 1.41 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004244/0.5905, allocations: 253 kB / 1.41 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.5926, allocations: 1.064 MB / 1.411 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.5928, allocations: 176.1 kB / 1.411 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003019/0.5931, allocations: 215.9 kB / 1.411 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003725/0.5969, allocations: 1.892 MB / 1.413 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.5969, allocations: 0 / 1.413 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.5971, allocations: 80 kB / 1.413 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.434e-05/0.5972, allocations: 59.95 kB / 1.413 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003102/0.6003, allocations: 1.492 MB / 1.415 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/0.6108, allocations: 5.08 MB / 1.42 GB, free: 5.969 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003198/0.6141, allocations: 1.443 MB / 1.421 GB, free: 4.477 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.483e-05/0.6142, allocations: 20.92 kB / 1.421 GB, free: 4.457 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.6156, allocations: 0.6824 MB / 1.422 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=120): time 3.466e-06/0.6156, allocations: 0 / 1.422 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of matching and sorting (n=120): time 0.003264/0.6189, allocations: 1.455 MB / 1.423 GB, free: 2.273 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/0.6191, allocations: 282 kB / 1.424 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/0.621, allocations: 1.266 MB / 1.425 GB, free: 0.668 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/0.6212, allocations: 61.7 kB / 1.425 GB, free: 0.6016 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.6078/1.229, allocations: 0.8397 MB / 1.426 GB, free: 173 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000789/1.23, allocations: 370 kB / 1.426 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/1.23, allocations: 26.91 kB / 1.426 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001773/1.23, allocations: 348.4 kB / 1.426 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/1.232, allocations: 485.4 kB / 1.427 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/1.233, allocations: 0.6534 MB / 1.428 GB, free: 172.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/1.234, allocations: 0.5211 MB / 1.428 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.234, allocations: 0 / 1.428 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002745/1.237, allocations: 1.394 MB / 1.429 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.72e-05/1.237, allocations: 67.52 kB / 1.429 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.237, allocations: 1.969 kB / 1.429 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/1.237, allocations: 8.656 kB / 1.429 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008952/1.238, allocations: 223.7 kB / 1.43 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/1.238, allocations: 7.547 kB / 1.43 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/1.239, allocations: 313.6 kB / 1.43 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.832e-05/1.239, allocations: 44.42 kB / 1.43 GB, free: 172.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noSenZon.notOccMod.y,noSenZon.modAreBreAir.u2,$PRE.noSenZon.cooSup.greHys.y,noSenZon.cooSup.greHys.y,winSenZon.notOccMod.y,winSenZon.modAreBreAir.u2,$PRE.winSenZon.cooSup.greHys.y,winSenZon.cooSup.greHys.y,occSenZon.notOccMod.y,occSenZon.modAreBreAir.u2,$PRE.occSenZon.cooSup.greHys.y,occSenZon.cooSup.greHys.y,co2SenZon.notOccMod.y,co2SenZon.modAreBreAir.u2,$PRE.co2SenZon.cooSup.greHys.y,co2SenZon.cooSup.greHys.y,co2SenZonParFan.notOccMod.y,co2SenZonParFan.modAreBreAir.u2,$PRE.co2SenZonParFan.cooSup.greHys.y,co2SenZonParFan.cooSup.greHys.y,co2SenZonParFan.uZonSta,co2SenZonParFan.inCooSta.y,co2SenSZVAV.notOccMod.y,co2SenSZVAV.modAreBreAir.u2,$PRE.co2SenSZVAV.cooSup.greHys.y,co2SenSZVAV.cooSup.greHys.y,booToInt.u,booToInt.y,$PRE.winSta.y,winSta.y,$PRE.occSta.y,occSta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 2 * 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.0007865/1.24, allocations: 356.6 kB / 1.43 GB, free: 171.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/1.24, allocations: 170.6 kB / 1.431 GB, free: 171.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/1.242, allocations: 1.187 MB / 1.432 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/1.243, allocations: 11.48 kB / 1.432 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.243, allocations: 0 / 1.432 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/1.243, allocations: 9.844 kB / 1.432 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00499/1.248, allocations: 3.033 MB / 1.435 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/1.248, allocations: 4.719 kB / 1.435 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009562/1.249, allocations: 202.6 kB / 1.435 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.858e-05/1.249, allocations: 13.25 kB / 1.435 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.484e-05/1.249, allocations: 37.06 kB / 1.435 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-05/1.249, allocations: 13.61 kB / 1.435 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.249, allocations: 4.281 kB / 1.435 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/1.251, allocations: 1.615 MB / 1.437 GB, free: 170.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/1.252, allocations: 283 kB / 1.437 GB, free: 170.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/1.252, allocations: 34.78 kB / 1.437 GB, free: 170.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008407/1.253, allocations: 132.3 kB / 1.437 GB, free: 170.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003868/1.253, allocations: 173.6 kB / 1.437 GB, free: 170.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.187e-05/1.253, allocations: 39.53 kB / 1.437 GB, free: 170.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001478/1.255, allocations: 0.9367 MB / 1.438 GB, free: 170.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/1.255, allocations: 0 / 1.438 GB, free: 170.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001189/1.256, allocations: 352.1 kB / 1.438 GB, free: 170.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noSenZon.notOccMod.y,noSenZon.modAreBreAir.u2,noSenZon.cooSup.greHys.y,winSenZon.notOccMod.y,winSenZon.modAreBreAir.u2,winSenZon.cooSup.greHys.y,occSenZon.notOccMod.y,occSenZon.modAreBreAir.u2,occSenZon.cooSup.greHys.y,co2SenZon.notOccMod.y,co2SenZon.modAreBreAir.u2,co2SenZon.cooSup.greHys.y,co2SenZonParFan.notOccMod.y,co2SenZonParFan.modAreBreAir.u2,co2SenZonParFan.cooSup.greHys.y,co2SenZonParFan.uZonSta,co2SenZonParFan.inCooSta.y,co2SenSZVAV.notOccMod.y,co2SenSZVAV.modAreBreAir.u2,co2SenSZVAV.cooSup.greHys.y,booToInt.u,booToInt.y,winSta.y,occSta.y) * Number of discrete states: 6 (co2SenSZVAV.cooSup.greHys.y,co2SenZonParFan.cooSup.greHys.y,co2SenZon.cooSup.greHys.y,occSenZon.cooSup.greHys.y,winSenZon.cooSup.greHys.y,noSenZon.cooSup.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003005/1.259, allocations: 3.347 MB / 1.442 GB, free: 167.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002871/1.262, allocations: 1.259 MB / 1.443 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.262, allocations: 0.9688 kB / 1.443 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/1.263, allocations: 0.6309 MB / 1.444 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/1.264, allocations: 156.5 kB / 1.444 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007167/1.272, allocations: 5.189 MB / 1.449 GB, free: 164.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/1.273, allocations: 1.357 MB / 1.45 GB, free: 163.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009104/1.274, allocations: 176.4 kB / 1.45 GB, free: 163.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/1.275, allocations: 0.736 MB / 1.451 GB, free: 163.4 MB / 0.9167 GB Notification: Performance of SimCode: time 1.313e-06/1.275, allocations: 1.25 kB / 1.451 GB, free: 163.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05539/1.33, allocations: 26.22 MB / 1.477 GB, free: 161 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.331, allocations: 223 kB / 1.477 GB, free: 160.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.277/4.608, allocations: 1.75 kB / 1.477 GB, free: 160.8 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints_res.mat does not exist to compare? outputFormat=mat