Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.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_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil",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.555/2.555, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001024/0.001024, allocations: 192.6 kB / 487.4 MB, free: 5.059 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.522/1.522, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 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.0009854/0.0009855, allocations: 99.88 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.86e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2835, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9038/1.187, allocations: 151.3 MB / 1.354 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001826/1.188, allocations: 79.81 kB / 1.354 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01415/1.202, allocations: 5.468 MB / 1.359 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/1.202, allocations: 0 / 1.359 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.421e-05/1.202, allocations: 7.75 kB / 1.359 GB, free: 33.94 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007282/1.203, allocations: 0.5515 MB / 1.36 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.203, allocations: 8.25 kB / 1.36 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/1.203, allocations: 34.97 kB / 1.36 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/1.203, allocations: 311.9 kB / 1.36 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/1.203, allocations: 7.719 kB / 1.36 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/1.203, allocations: 18.72 kB / 1.36 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002534/1.203, allocations: 132.1 kB / 1.36 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/1.204, allocations: 200.4 kB / 1.36 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.204, allocations: 0 / 1.36 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/1.204, allocations: 0 / 1.36 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/1.204, allocations: 11.89 kB / 1.36 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/1.205, allocations: 0.8246 MB / 1.361 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/1.205, allocations: 143.2 kB / 1.361 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.626e-05/1.205, allocations: 67.55 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/1.205, allocations: 192 / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/1.206, allocations: 108.5 kB / 1.362 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/1.206, allocations: 4 kB / 1.362 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003008/1.206, allocations: 146.7 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/1.206, allocations: 80.95 kB / 1.362 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/1.206, allocations: 211.7 kB / 1.362 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/1.206, allocations: 29.52 kB / 1.362 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/1.206, allocations: 171.1 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/1.206, allocations: 45.22 kB / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.772e-05/1.206, allocations: 0 / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.207, allocations: 334.9 kB / 1.363 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/1.207, allocations: 64.95 kB / 1.363 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/1.207, allocations: 116 kB / 1.363 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/1.207, allocations: 73.83 kB / 1.363 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.207, allocations: 4.031 kB / 1.363 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004111/1.208, allocations: 225 kB / 1.363 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000188/1.208, allocations: 395.3 kB / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.208, allocations: 3.953 kB / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/1.208, allocations: 0 / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/1.208, allocations: 42 kB / 1.363 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/1.208, allocations: 4 kB / 1.363 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/1.208, allocations: 72.16 kB / 1.364 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/1.208, allocations: 14.56 kB / 1.364 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/1.208, allocations: 3.812 kB / 1.364 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000362/1.209, allocations: 184.8 kB / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/1.209, allocations: 3.844 kB / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-06/1.209, allocations: 3.188 kB / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/1.209, allocations: 30.02 kB / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/1.209, allocations: 3.781 kB / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/1.209, allocations: 54.86 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/1.209, allocations: 14.06 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,$PRE.zonSta.booPul.y,zonSta.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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.0001008/1.209, allocations: 111.3 kB / 1.364 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001816/1.209, allocations: 146 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/1.209, allocations: 23.34 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/1.21, allocations: 27.19 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/1.21, allocations: 3.969 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.21, allocations: 0 / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.21, allocations: 7.359 kB / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/1.21, allocations: 276.6 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.21, allocations: 3.047 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/1.21, allocations: 32.94 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.21, allocations: 3.719 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/1.21, allocations: 4 kB / 1.364 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/1.21, allocations: 0 / 1.364 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.21, allocations: 3.938 kB / 1.364 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/1.21, allocations: 178.5 kB / 1.365 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/1.21, allocations: 96.2 kB / 1.365 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/1.21, allocations: 2.625 kB / 1.365 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/1.21, allocations: 22.55 kB / 1.365 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/1.21, allocations: 13.7 kB / 1.365 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/1.21, allocations: 3.812 kB / 1.365 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001211/1.211, allocations: 164.9 kB / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.211, allocations: 0 / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003492/1.211, allocations: 96.94 kB / 1.365 GB, free: 30.78 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,zonSta.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004903/1.211, allocations: 0.7375 MB / 1.366 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004046/1.212, allocations: 380.1 kB / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.212, allocations: 0 / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.296e-05/1.212, allocations: 66.28 kB / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/1.212, allocations: 46.48 kB / 1.366 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007008/1.213, allocations: 360.8 kB / 1.367 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/1.213, allocations: 0.7647 MB / 1.367 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001619/1.214, allocations: 33.55 kB / 1.367 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/1.214, allocations: 82.94 kB / 1.367 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.214, allocations: 0 / 1.367 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/1.238, allocations: 5.437 MB / 1.373 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/1.238, allocations: 171.7 kB / 1.373 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/3.087, allocations: 0 / 1.373 GB, free: 28.52 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil_fmu --startTime=0 --stopTime=28000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil_res.mat does not exist to compare? outputFormat=mat