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.143/2.143, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001255/0.001255, allocations: 192.5 kB / 487.4 MB, free: 5.023 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.458/1.458, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009422/0.0009422, allocations: 99.52 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.872e-05/1.883e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2346, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8029/1.038, allocations: 152.4 MB / 1.355 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/1.038, allocations: 70.77 kB / 1.355 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06222/1.1, allocations: 27.93 MB / 1.382 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.463e-06/1.1, allocations: 0 / 1.382 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001059/1.1, allocations: 50.27 kB / 1.382 GB, free: 28.32 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.00269/1.103, allocations: 1.894 MB / 1.384 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/1.103, allocations: 12.06 kB / 1.384 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002911/1.103, allocations: 253 kB / 1.384 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/1.105, allocations: 1.068 MB / 1.385 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.551e-05/1.105, allocations: 79.03 kB / 1.385 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/1.105, allocations: 123.4 kB / 1.386 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001986/1.107, allocations: 1.202 MB / 1.387 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/1.109, allocations: 1.475 MB / 1.388 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/1.109, allocations: 3.938 kB / 1.388 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/1.11, allocations: 3.984 kB / 1.388 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/1.11, allocations: 49.81 kB / 1.388 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006361/1.116, allocations: 4.482 MB / 1.393 GB, free: 24.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/1.118, allocations: 1.292 MB / 1.394 GB, free: 23.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/1.119, allocations: 381.2 kB / 1.394 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.081e-05/1.119, allocations: 16.44 kB / 1.394 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007671/1.12, allocations: 0.566 MB / 1.395 GB, free: 23.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=120): time 3.306e-06/1.12, allocations: 0 / 1.395 GB, free: 23.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=120): time 0.001318/1.121, allocations: 0.8013 MB / 1.396 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/1.121, allocations: 281.1 kB / 1.396 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008042/1.122, allocations: 0.7391 MB / 1.397 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/1.122, allocations: 37.36 kB / 1.397 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/1.122, allocations: 0.853 MB / 1.397 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/1.123, allocations: 348.4 kB / 1.398 GB, free: 21.94 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/1.123, allocations: 4.875 kB / 1.398 GB, free: 21.94 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.123, allocations: 356.8 kB / 1.398 GB, free: 21.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/1.123, allocations: 378.4 kB / 1.399 GB, free: 21.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006388/1.124, allocations: 0.5315 MB / 1.399 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007528/1.125, allocations: 389.4 kB / 1.399 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.125, allocations: 3.938 kB / 1.399 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.001713/1.127, allocations: 1.056 MB / 1.4 GB, free: 21.19 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/1.127, allocations: 66.73 kB / 1.401 GB, free: 21.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.127, allocations: 0 / 1.401 GB, free: 21.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/1.127, allocations: 7.531 kB / 1.401 GB, free: 21.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/1.128, allocations: 229.9 kB / 1.401 GB, free: 21.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/1.128, allocations: 7.812 kB / 1.401 GB, free: 21.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/1.129, allocations: 226.1 kB / 1.401 GB, free: 20.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.963e-05/1.129, allocations: 48.27 kB / 1.401 GB, free: 20.97 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.0002248/1.129, allocations: 148.6 kB / 1.401 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00107/1.13, allocations: 0.8049 MB / 1.402 GB, free: 20.67 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/1.13, allocations: 120.4 kB / 1.402 GB, free: 20.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/1.131, allocations: 0.9077 MB / 1.403 GB, free: 20.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/1.131, allocations: 11.44 kB / 1.403 GB, free: 20.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.131, allocations: 0 / 1.403 GB, free: 20.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/1.132, allocations: 7.969 kB / 1.403 GB, free: 20.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/1.135, allocations: 2.532 MB / 1.405 GB, free: 19.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/1.135, allocations: 3.781 kB / 1.405 GB, free: 19.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007419/1.135, allocations: 206.9 kB / 1.406 GB, free: 19.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/1.135, allocations: 19.2 kB / 1.406 GB, free: 19.37 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.381e-05/1.135, allocations: 14.83 kB / 1.406 GB, free: 19.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/1.136, allocations: 11.34 kB / 1.406 GB, free: 19.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.136, allocations: 3.906 kB / 1.406 GB, free: 19.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/1.137, allocations: 1.306 MB / 1.407 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/1.137, allocations: 209.2 kB / 1.407 GB, free: 18.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/1.137, allocations: 15.19 kB / 1.407 GB, free: 18.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007066/1.138, allocations: 108.7 kB / 1.407 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/1.138, allocations: 172.2 kB / 1.407 GB, free: 18.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.271e-05/1.138, allocations: 42.11 kB / 1.407 GB, free: 18.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005163/1.139, allocations: 0.51 MB / 1.408 GB, free: 18.17 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.139, allocations: 0 / 1.408 GB, free: 18.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009139/1.14, allocations: 348.5 kB / 1.408 GB, free: 18.08 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.002146/1.142, allocations: 3.078 MB / 1.411 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00145/1.143, allocations: 1.048 MB / 1.412 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.143, allocations: 3.844 kB / 1.412 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007391/1.144, allocations: 0.5214 MB / 1.413 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/1.145, allocations: 96.72 kB / 1.413 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/1.148, allocations: 2.178 MB / 1.415 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008536/1.149, allocations: 1.352 MB / 1.416 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005469/1.15, allocations: 128.3 kB / 1.417 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007835/1.151, allocations: 0.7029 MB / 1.417 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of SimCode: time 9.32e-07/1.151, allocations: 0 / 1.417 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05087/1.201, allocations: 21.1 MB / 1.438 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003165/1.202, allocations: 180.6 kB / 1.438 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.633/3.835, allocations: 4 kB / 1.438 GB, free: 6.469 MB / 0.8542 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