Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.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_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_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.237/2.237, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001138/0.001138, allocations: 177.1 kB / 498.1 MB, free: 5.773 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.531/1.531, allocations: 223.1 MB / 0.7948 GB, free: 17.98 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.0009633/0.0009632, allocations: 102.6 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004035, allocations: 7.469 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.274, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.191/0.465, allocations: 152.1 MB / 1.372 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.4653, allocations: 75.94 kB / 1.372 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04007/0.5054, allocations: 15.47 MB / 1.387 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.007e-06/0.5055, allocations: 0 / 1.387 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.81e-05/0.5055, allocations: 23.94 kB / 1.387 GB, free: 10.34 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002635/0.5082, allocations: 1.183 MB / 1.388 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.5082, allocations: 8.031 kB / 1.388 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003099/0.5086, allocations: 131.1 kB / 1.388 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003661/0.5089, allocations: 114.6 kB / 1.388 GB, free: 8.832 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.5101, allocations: 0.5648 MB / 1.389 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.5103, allocations: 151.1 kB / 1.389 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.5105, allocations: 84 kB / 1.389 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.5124, allocations: 0.8852 MB / 1.39 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.5125, allocations: 0 / 1.39 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.973e-05/0.5126, allocations: 32 kB / 1.39 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.5126, allocations: 20 kB / 1.39 GB, free: 7.023 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.5143, allocations: 0.73 MB / 1.391 GB, free: 6.293 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004815/0.5191, allocations: 2.675 MB / 1.393 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.5207, allocations: 0.6502 MB / 1.394 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.238e-05/0.5207, allocations: 20.53 kB / 1.394 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008599/0.5216, allocations: 458.3 kB / 1.394 GB, free: 2.391 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=64): time 2.955e-06/0.5216, allocations: 0 / 1.394 GB, free: 2.391 MB / 0.8855 GB Notification: Performance of matching and sorting (n=64): time 0.001881/0.5235, allocations: 0.8694 MB / 1.395 GB, free: 1.516 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.5237, allocations: 299.3 kB / 1.395 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000898/0.5246, allocations: 0.6875 MB / 1.396 GB, free: 472 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.046e-05/0.5246, allocations: 45.7 kB / 1.396 GB, free: 420 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.525, allocations: 384.7 kB / 1.396 GB, free: 28 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.5252, allocations: 205.2 kB / 1.397 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.5252, allocations: 16 kB / 1.397 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5254, allocations: 337.9 kB / 1.397 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006008/0.526, allocations: 285.9 kB / 1.397 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007073/0.5267, allocations: 436.5 kB / 1.398 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006603/0.5273, allocations: 344.6 kB / 1.398 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5274, allocations: 4 kB / 1.398 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001746/0.5291, allocations: 0.8376 MB / 1.399 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002288/0.5294, allocations: 396.3 kB / 1.399 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.5294, allocations: 4 kB / 1.399 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.5294, allocations: 4 kB / 1.399 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/0.5301, allocations: 139.8 kB / 1.399 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.5301, allocations: 4 kB / 1.399 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007307/0.5308, allocations: 195 kB / 1.4 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.5309, allocations: 23.98 kB / 1.4 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.5309, allocations: 4 kB / 1.4 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001161/0.5321, allocations: 0.6457 MB / 1.4 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5321, allocations: 0 / 1.4 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/0.5321, allocations: 7.938 kB / 1.4 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.5326, allocations: 123.8 kB / 1.4 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.5326, allocations: 4 kB / 1.4 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/0.5332, allocations: 167.1 kB / 1.4 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.5333, allocations: 24 kB / 1.4 GB, free: 11.76 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition1,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.y,yFan.y,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0004485/0.5338, allocations: 310.7 kB / 1.401 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.5339, allocations: 90.89 kB / 1.401 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.5354, allocations: 0.7339 MB / 1.402 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.5355, allocations: 11.98 kB / 1.402 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5355, allocations: 4 kB / 1.402 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.5355, allocations: 0 / 1.402 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.5379, allocations: 1.633 MB / 1.403 GB, free: 8.883 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.5379, allocations: 4 kB / 1.403 GB, free: 8.879 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005625/0.5385, allocations: 136 kB / 1.403 GB, free: 8.746 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-05/0.5385, allocations: 8 kB / 1.403 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/0.5385, allocations: 19.95 kB / 1.403 GB, free: 8.719 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.5386, allocations: 4 kB / 1.403 GB, free: 8.715 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.586e-05/0.5386, allocations: 4 kB / 1.403 GB, free: 8.711 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.5405, allocations: 1.227 MB / 1.405 GB, free: 7.414 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.5408, allocations: 183.9 kB / 1.405 GB, free: 7.215 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.612e-05/0.5409, allocations: 27.94 kB / 1.405 GB, free: 7.188 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/0.5413, allocations: 75.94 kB / 1.405 GB, free: 7.113 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.5414, allocations: 48.44 kB / 1.405 GB, free: 7.066 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.5415, allocations: 24 kB / 1.405 GB, free: 7.043 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006745/0.5422, allocations: 0.5342 MB / 1.405 GB, free: 6.516 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5422, allocations: 0 / 1.405 GB, free: 6.516 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000858/0.543, allocations: 303.4 kB / 1.406 GB, free: 6.219 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,retFanPre.movMea.mode,yFan.y,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 66 * 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.002473/0.5455, allocations: 2.239 MB / 1.408 GB, free: 3.91 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002095/0.5476, allocations: 1.127 MB / 1.409 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5476, allocations: 3.938 kB / 1.409 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006248/0.5483, allocations: 343.6 kB / 1.409 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007824/0.5491, allocations: 167.1 kB / 1.409 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/0.5527, allocations: 2.75 MB / 1.412 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.5533, allocations: 0.9766 MB / 1.413 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004541/0.5538, allocations: 114.5 kB / 1.413 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/0.5542, allocations: 331.3 kB / 1.414 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.5542, allocations: 0 / 1.414 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5304/1.085, allocations: 16.83 MB / 1.43 GB, free: 191.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/1.085, allocations: 233.2 kB / 1.43 GB, free: 191 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.478, allocations: 0 / 1.43 GB, free: 191 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.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_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat does not exist to compare? outputFormat=mat