Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.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.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",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.302/2.302, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001117/0.001117, allocations: 185 kB / 498.1 MB, free: 5.719 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.461/1.461, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0008125/0.0008125, allocations: 98.3 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003556, allocations: 14.03 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2408, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.4224, allocations: 152.6 MB / 1.372 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.4228, allocations: 79.94 kB / 1.372 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05734/0.4801, allocations: 20.93 MB / 1.393 GB, free: 4.316 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4802, allocations: 0 / 1.393 GB, free: 4.316 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001342/0.4804, allocations: 35.98 kB / 1.393 GB, free: 4.281 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003891/0.4843, allocations: 1.55 MB / 1.394 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.4843, allocations: 8.031 kB / 1.394 GB, free: 2.656 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005075/0.4848, allocations: 202.5 kB / 1.394 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004866/0.4853, allocations: 170 kB / 1.394 GB, free: 2.281 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.4869, allocations: 0.7406 MB / 1.395 GB, free: 1.496 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.4871, allocations: 187.8 kB / 1.395 GB, free: 1.293 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/0.4873, allocations: 136 kB / 1.395 GB, free: 1.16 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.4898, allocations: 1.322 MB / 1.397 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.4898, allocations: 3.906 kB / 1.397 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.49, allocations: 59.98 kB / 1.397 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.49, allocations: 36 kB / 1.397 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.4921, allocations: 1.068 MB / 1.398 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006513/0.4986, allocations: 4.238 MB / 1.402 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.5003, allocations: 0.8782 MB / 1.403 GB, free: 9.418 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.416e-05/0.5004, allocations: 17.11 kB / 1.403 GB, free: 9.402 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.5014, allocations: 0.5772 MB / 1.403 GB, free: 8.785 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=88): time 3.486e-06/0.5014, allocations: 0 / 1.403 GB, free: 8.785 MB / 0.9011 GB Notification: Performance of matching and sorting (n=88): time 0.002221/0.5037, allocations: 1.124 MB / 1.405 GB, free: 7.652 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002483/0.5039, allocations: 376.8 kB / 1.405 GB, free: 7.199 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.5053, allocations: 0.9825 MB / 1.406 GB, free: 6.203 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.868e-05/0.5054, allocations: 53.62 kB / 1.406 GB, free: 6.145 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000506/0.5059, allocations: 0.5745 MB / 1.406 GB, free: 5.562 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.5061, allocations: 287.9 kB / 1.407 GB, free: 5.277 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.5062, allocations: 16 kB / 1.407 GB, free: 5.262 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5063, allocations: 341.9 kB / 1.407 GB, free: 4.922 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007528/0.5071, allocations: 393.8 kB / 1.407 GB, free: 4.539 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009874/0.5081, allocations: 0.5763 MB / 1.408 GB, free: 3.891 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008428/0.5089, allocations: 452.6 kB / 1.408 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.509, allocations: 4 kB / 1.408 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001996/0.511, allocations: 1.13 MB / 1.41 GB, free: 2.301 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003167/0.5113, allocations: 0.6564 MB / 1.41 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5113, allocations: 4 kB / 1.41 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.5113, allocations: 8 kB / 1.41 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008663/0.5122, allocations: 199.7 kB / 1.41 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.5122, allocations: 7.984 kB / 1.41 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008645/0.5131, allocations: 230.5 kB / 1.411 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/0.5132, allocations: 32 kB / 1.411 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.293e-06/0.5132, allocations: 5.094 kB / 1.411 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001508/0.5147, allocations: 0.9153 MB / 1.412 GB, free: 200 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5147, allocations: 4 kB / 1.412 GB, free: 196 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.763e-06/0.5147, allocations: 4 kB / 1.412 GB, free: 192 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/0.5154, allocations: 183.7 kB / 1.412 GB, free: 8 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.5154, allocations: 7.953 kB / 1.412 GB, free: 0 / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007517/0.5162, allocations: 210.9 kB / 1.412 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/0.5163, allocations: 35.98 kB / 1.412 GB, free: 15.75 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode,$PRE.yFan.y,yFan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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.0006083/0.5169, allocations: 368.9 kB / 1.412 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.517, allocations: 118.5 kB / 1.412 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/0.5188, allocations: 0.9556 MB / 1.413 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.5188, allocations: 8 kB / 1.413 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.5188, allocations: 7.781 kB / 1.413 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.5188, allocations: 7.969 kB / 1.413 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/0.5217, allocations: 2.099 MB / 1.415 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5217, allocations: 0 / 1.415 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007083/0.5224, allocations: 175.7 kB / 1.416 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.5225, allocations: 4 kB / 1.416 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.589e-05/0.5225, allocations: 27.94 kB / 1.416 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.5225, allocations: 7.984 kB / 1.416 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5225, allocations: 4 kB / 1.416 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.5249, allocations: 1.431 MB / 1.417 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.5252, allocations: 231.3 kB / 1.417 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.5253, allocations: 19.98 kB / 1.417 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/0.5258, allocations: 99.89 kB / 1.417 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.526, allocations: 64.98 kB / 1.417 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/0.526, allocations: 24 kB / 1.417 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009565/0.527, allocations: 0.7542 MB / 1.418 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.8e-07/0.527, allocations: 0 / 1.418 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00105/0.5281, allocations: 450.9 kB / 1.419 GB, free: 8.805 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (retFanPre.movMea.mu,retFanPre.conP.I.y,retFanPre1.movMea.mu,retFanPre1.conP.I.y,retFanPre2.movMea.mu,retFanPre2.conP.I.y) * Number of discrete variables: 12 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,retFanPre.movMea.mode,retFanPre1.movMea.mode,retFanPre2.movMea.mode,yFan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002825/0.5309, allocations: 2.044 MB / 1.421 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002615/0.5335, allocations: 1.505 MB / 1.422 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5335, allocations: 4.188 kB / 1.422 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007248/0.5343, allocations: 429.5 kB / 1.423 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009562/0.5352, allocations: 228.1 kB / 1.423 GB, free: 4.566 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004667/0.5399, allocations: 4.169 MB / 1.427 GB, free: 220 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5216/1.062, allocations: 1.131 MB / 1.428 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000964/1.063, allocations: 155.1 kB / 1.428 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007447/1.063, allocations: 0.5117 MB / 1.429 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of SimCode: time 8.91e-07/1.063, allocations: 0 / 1.429 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06337/1.127, allocations: 23.14 MB / 1.451 GB, free: 185.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/1.127, allocations: 238.8 kB / 1.451 GB, free: 185.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/3.835, allocations: 0 / 1.451 GB, free: 185.3 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat does not exist to compare? outputFormat=mat