Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.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.VentilationZones.ASHRAE62_1.Validation.Setpoints,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 387.1 MB / 399.7 MB, free: 9.516 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.001101/0.001101, allocations: 176.9 kB / 492.3 MB, free: 0.6328 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.5/1.5, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0008433/0.0008433, allocations: 96.23 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.774e-05, allocations: 4 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2635, allocations: 142.3 MB / 1.213 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8902/1.154, allocations: 153 MB / 1.362 GB, free: 18.92 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/1.154, allocations: 71.09 kB / 1.362 GB, free: 18.92 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06562/1.22, allocations: 28.13 MB / 1.389 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.505e-06/1.22, allocations: 0 / 1.389 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001855/1.22, allocations: 52.8 kB / 1.39 GB, free: 27.56 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004322/1.224, allocations: 1.896 MB / 1.391 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/1.224, allocations: 7.844 kB / 1.391 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007298/1.225, allocations: 289.7 kB / 1.392 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007931/1.226, allocations: 252.9 kB / 1.392 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/1.228, allocations: 1.064 MB / 1.393 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/1.229, allocations: 174 kB / 1.393 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004147/1.229, allocations: 208.4 kB / 1.393 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003656/1.233, allocations: 1.776 MB / 1.395 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/1.233, allocations: 3.875 kB / 1.395 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/1.233, allocations: 83.84 kB / 1.395 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/1.233, allocations: 50.22 kB / 1.395 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/1.236, allocations: 1.31 MB / 1.396 GB, free: 25.08 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008559/1.244, allocations: 5.059 MB / 1.401 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/1.246, allocations: 1.347 MB / 1.403 GB, free: 22.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005674/1.247, allocations: 410.1 kB / 1.403 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.839e-05/1.247, allocations: 20.38 kB / 1.403 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008669/1.248, allocations: 0.6091 MB / 1.404 GB, free: 22.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=120): time 2.825e-06/1.248, allocations: 0 / 1.404 GB, free: 22.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=120): time 0.001579/1.25, allocations: 0.9105 MB / 1.405 GB, free: 21.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.806e-05/1.25, allocations: 285.8 kB / 1.405 GB, free: 21.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/1.251, allocations: 1.247 MB / 1.406 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/1.251, allocations: 62.95 kB / 1.406 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005568/1.252, allocations: 0.8445 MB / 1.407 GB, free: 19.99 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/1.252, allocations: 365.8 kB / 1.407 GB, free: 19.69 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/1.252, allocations: 28.31 kB / 1.407 GB, free: 19.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.252, allocations: 350.2 kB / 1.408 GB, free: 19.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006239/1.253, allocations: 402.8 kB / 1.408 GB, free: 19.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007108/1.254, allocations: 0.5675 MB / 1.409 GB, free: 18.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006332/1.254, allocations: 456.8 kB / 1.409 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.254, allocations: 0 / 1.409 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.001723/1.256, allocations: 1.237 MB / 1.41 GB, free: 17.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.41e-05/1.256, allocations: 70.95 kB / 1.41 GB, free: 17.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/1.256, allocations: 0 / 1.41 GB, free: 17.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/1.256, allocations: 4 kB / 1.41 GB, free: 17.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008392/1.257, allocations: 235.6 kB / 1.411 GB, free: 17.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/1.257, allocations: 7.984 kB / 1.411 GB, free: 17.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/1.258, allocations: 317.1 kB / 1.411 GB, free: 16.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/1.258, allocations: 43.61 kB / 1.411 GB, free: 16.82 MB / 0.8386 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 () * 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.00024/1.258, allocations: 183.2 kB / 1.411 GB, free: 16.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/1.259, allocations: 173.8 kB / 1.411 GB, free: 16.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/1.26, allocations: 1.043 MB / 1.412 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.26, allocations: 12 kB / 1.412 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.26, allocations: 0 / 1.412 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/1.26, allocations: 3.984 kB / 1.412 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003883/1.264, allocations: 2.876 MB / 1.415 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.264, allocations: 4 kB / 1.415 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000776/1.265, allocations: 206.9 kB / 1.415 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.538e-05/1.265, allocations: 16 kB / 1.415 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.458e-05/1.265, allocations: 26.3 kB / 1.415 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/1.265, allocations: 15.94 kB / 1.415 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.265, allocations: 4 kB / 1.415 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/1.267, allocations: 1.465 MB / 1.417 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/1.267, allocations: 274.9 kB / 1.417 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/1.267, allocations: 33.62 kB / 1.417 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007465/1.268, allocations: 137.2 kB / 1.417 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/1.268, allocations: 179.9 kB / 1.417 GB, free: 11.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.139e-05/1.268, allocations: 35.75 kB / 1.417 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001179/1.27, allocations: 0.9229 MB / 1.418 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.61e-07/1.27, allocations: 0 / 1.418 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001187/1.271, allocations: 355.5 kB / 1.419 GB, free: 10.59 MB / 0.8386 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) * 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.003187/1.274, allocations: 3.196 MB / 1.422 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002185/1.276, allocations: 1.109 MB / 1.423 GB, free: 6.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.276, allocations: 4 kB / 1.423 GB, free: 6.766 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009784/1.277, allocations: 0.5639 MB / 1.423 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009007/1.278, allocations: 140.2 kB / 1.424 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005377/1.284, allocations: 2.316 MB / 1.426 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.285, allocations: 1.353 MB / 1.427 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0006259/1.285, allocations: 175.3 kB / 1.427 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008258/1.286, allocations: 0.7379 MB / 1.428 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of SimCode: time 2.475e-06/1.286, allocations: 0 / 1.428 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05311/1.339, allocations: 26.67 MB / 1.454 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/1.339, allocations: 191 kB / 1.454 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.101/4.441, allocations: 0 / 1.454 GB, free: 7.922 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints.fmu > Buildings_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints_res.mat does not exist to compare? outputFormat=mat