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.138/2.138, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001027/0.001027, allocations: 172.5 kB / 492.3 MB, free: 0.625 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.51/1.51, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.001173/0.001173, allocations: 91.89 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.819e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2147, allocations: 142.4 MB / 1.213 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7689/0.9836, allocations: 152.5 MB / 1.361 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.9839, allocations: 80.03 kB / 1.362 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04674/1.031, allocations: 20.87 MB / 1.382 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.104e-06/1.031, allocations: 3.984 kB / 1.382 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.41e-05/1.031, allocations: 30.86 kB / 1.382 GB, free: 31.05 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.002248/1.033, allocations: 1.408 MB / 1.383 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.033, allocations: 7.812 kB / 1.383 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/1.033, allocations: 202 kB / 1.384 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/1.034, allocations: 178 kB / 1.384 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009378/1.035, allocations: 0.7325 MB / 1.384 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/1.035, allocations: 186.6 kB / 1.385 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/1.035, allocations: 141.3 kB / 1.385 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/1.037, allocations: 1.242 MB / 1.386 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/1.037, allocations: 7.812 kB / 1.386 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.411e-05/1.037, allocations: 53.88 kB / 1.386 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/1.037, allocations: 34.94 kB / 1.386 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/1.038, allocations: 0.9281 MB / 1.387 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005474/1.044, allocations: 4.246 MB / 1.391 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/1.045, allocations: 0.7404 MB / 1.392 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/1.045, allocations: 352.8 kB / 1.392 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.197e-05/1.045, allocations: 19.06 kB / 1.392 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006284/1.046, allocations: 0.5212 MB / 1.393 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=88): time 2.685e-06/1.046, allocations: 0 / 1.393 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88): time 0.001033/1.047, allocations: 0.703 MB / 1.393 GB, free: 26.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/1.047, allocations: 379.7 kB / 1.394 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/1.048, allocations: 0.9695 MB / 1.395 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-05/1.048, allocations: 46.58 kB / 1.395 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/1.048, allocations: 0.5798 MB / 1.395 GB, free: 25.78 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/1.049, allocations: 281.7 kB / 1.396 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/1.049, allocations: 24.5 kB / 1.396 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.654e-05/1.049, allocations: 341.6 kB / 1.396 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/1.049, allocations: 319.8 kB / 1.396 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005374/1.05, allocations: 0.508 MB / 1.397 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/1.05, allocations: 398.7 kB / 1.397 GB, free: 24.97 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.05, allocations: 0 / 1.397 GB, free: 24.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001296/1.052, allocations: 1.001 MB / 1.398 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.00022/1.052, allocations: 0.66 MB / 1.399 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/1.052, allocations: 0 / 1.399 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/1.052, allocations: 7.688 kB / 1.399 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007682/1.053, allocations: 204.4 kB / 1.399 GB, free: 24.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/1.053, allocations: 7.688 kB / 1.399 GB, free: 24.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008065/1.054, allocations: 231 kB / 1.399 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.507e-05/1.054, allocations: 40.77 kB / 1.399 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/1.054, allocations: 4.938 kB / 1.399 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001113/1.055, allocations: 0.8568 MB / 1.4 GB, free: 23.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.055, allocations: 3.812 kB / 1.4 GB, free: 23.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/1.055, allocations: 3.969 kB / 1.4 GB, free: 23.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/1.055, allocations: 189.2 kB / 1.4 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/1.055, allocations: 4.031 kB / 1.4 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006761/1.056, allocations: 209.7 kB / 1.4 GB, free: 23.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.203e-05/1.056, allocations: 37.84 kB / 1.4 GB, free: 23.67 MB / 0.8386 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 () * 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.0002026/1.056, allocations: 167.2 kB / 1.401 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/1.057, allocations: 124.4 kB / 1.401 GB, free: 23.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/1.058, allocations: 0.8293 MB / 1.402 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/1.058, allocations: 11.59 kB / 1.402 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.058, allocations: 0 / 1.402 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/1.058, allocations: 7.938 kB / 1.402 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/1.06, allocations: 1.979 MB / 1.403 GB, free: 22.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.06, allocations: 4 kB / 1.403 GB, free: 22.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006715/1.061, allocations: 170.2 kB / 1.404 GB, free: 22.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/1.061, allocations: 3.875 kB / 1.404 GB, free: 22.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/1.061, allocations: 23.28 kB / 1.404 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/1.061, allocations: 7.859 kB / 1.404 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.061, allocations: 3.953 kB / 1.404 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/1.062, allocations: 1.25 MB / 1.405 GB, free: 21.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/1.062, allocations: 230 kB / 1.405 GB, free: 21.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/1.063, allocations: 19.31 kB / 1.405 GB, free: 21.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005407/1.063, allocations: 95.36 kB / 1.405 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/1.063, allocations: 56.41 kB / 1.405 GB, free: 21.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/1.063, allocations: 31.67 kB / 1.405 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008534/1.064, allocations: 0.7335 MB / 1.406 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.064, allocations: 8 kB / 1.406 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009901/1.065, allocations: 452.9 kB / 1.406 GB, free: 20.39 MB / 0.8386 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 () * 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.001833/1.067, allocations: 1.85 MB / 1.408 GB, free: 18.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001846/1.069, allocations: 1.404 MB / 1.41 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.069, allocations: 4 kB / 1.41 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004225/1.069, allocations: 359.9 kB / 1.41 GB, free: 17.68 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/1.07, allocations: 229.8 kB / 1.41 GB, free: 17.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/1.073, allocations: 1.701 MB / 1.412 GB, free: 16.03 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/1.074, allocations: 1.132 MB / 1.413 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007655/1.074, allocations: 193.1 kB / 1.413 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005008/1.075, allocations: 0.5045 MB / 1.414 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of SimCode: time 7.52e-07/1.075, allocations: 4 kB / 1.414 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04566/1.121, allocations: 24.87 MB / 1.438 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/1.121, allocations: 218.1 kB / 1.438 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/4.004, allocations: 0 / 1.438 GB, free: 5.812 MB / 0.8542 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