Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.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.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",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.224/2.224, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001019/0.001019, allocations: 175.4 kB / 498.1 MB, free: 5.68 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.523/1.523, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009675/0.0009674, allocations: 100.3 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.000386, allocations: 7.219 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.268, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.815/4.083, allocations: 1.731 GB / 2.953 GB, free: 254.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003626/4.083, allocations: 82.95 kB / 2.954 GB, free: 254 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1446/4.228, allocations: 75.8 MB / 3.028 GB, free: 190.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.784e-06/4.228, allocations: 224 / 3.028 GB, free: 190.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.354e-05/4.228, allocations: 11.94 kB / 3.028 GB, free: 190.6 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008071/4.229, allocations: 492.4 kB / 3.028 GB, free: 190.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/4.229, allocations: 11.97 kB / 3.028 GB, free: 190.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.706e-05/4.229, allocations: 53.48 kB / 3.028 GB, free: 190 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000805/4.229, allocations: 79.72 kB / 3.028 GB, free: 190 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/4.23, allocations: 226.9 kB / 3.028 GB, free: 189.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/4.23, allocations: 16.75 kB / 3.028 GB, free: 189.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/4.23, allocations: 18.75 kB / 3.028 GB, free: 189.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/4.23, allocations: 252.7 kB / 3.029 GB, free: 189.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/4.23, allocations: 0 / 3.029 GB, free: 189.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/4.23, allocations: 7.312 kB / 3.029 GB, free: 189.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/4.23, allocations: 4 kB / 3.029 GB, free: 189.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/4.231, allocations: 204.7 kB / 3.029 GB, free: 189.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/4.232, allocations: 0.9993 MB / 3.03 GB, free: 188.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/4.233, allocations: 176.2 kB / 3.03 GB, free: 188.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/4.233, allocations: 4 kB / 3.03 GB, free: 188.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/4.233, allocations: 37.28 kB / 3.03 GB, free: 188.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/4.233, allocations: 4 kB / 3.03 GB, free: 188.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.0006711/4.233, allocations: 248 kB / 3.03 GB, free: 187.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/4.233, allocations: 51.41 kB / 3.03 GB, free: 187.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/4.234, allocations: 182 kB / 3.031 GB, free: 187.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/4.234, allocations: 32.02 kB / 3.031 GB, free: 187.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/4.234, allocations: 142.5 kB / 3.031 GB, free: 187.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/4.234, allocations: 35.05 kB / 3.031 GB, free: 187.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/4.234, allocations: 0 / 3.031 GB, free: 187.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.396e-05/4.234, allocations: 333.2 kB / 3.031 GB, free: 187.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/4.234, allocations: 78.81 kB / 3.031 GB, free: 187.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/4.234, allocations: 133.1 kB / 3.031 GB, free: 187 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/4.234, allocations: 87.73 kB / 3.031 GB, free: 186.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/4.234, allocations: 0 / 3.031 GB, free: 186.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005965/4.235, allocations: 262.7 kB / 3.032 GB, free: 186.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/4.235, allocations: 9.562 kB / 3.032 GB, free: 186.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/4.235, allocations: 0 / 3.032 GB, free: 186.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/4.235, allocations: 4 kB / 3.032 GB, free: 186.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/4.235, allocations: 66.3 kB / 3.032 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/4.236, allocations: 0 / 3.032 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/4.236, allocations: 38.11 kB / 3.032 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/4.236, allocations: 10.48 kB / 3.032 GB, free: 186.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001019/4.236, allocations: 137.1 kB / 3.032 GB, free: 186.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/4.236, allocations: 15.84 kB / 3.032 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006384/4.237, allocations: 291.6 kB / 3.032 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/4.237, allocations: 11.92 kB / 3.032 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/4.237, allocations: 11.95 kB / 3.032 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/4.237, allocations: 0 / 3.032 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/4.237, allocations: 280.4 kB / 3.032 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/4.237, allocations: 0 / 3.032 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/4.237, allocations: 55.58 kB / 3.033 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/4.237, allocations: 0 / 3.033 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/4.237, allocations: 3.688 kB / 3.033 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/4.237, allocations: 4 kB / 3.033 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/4.237, allocations: 0 / 3.033 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/4.238, allocations: 358.7 kB / 3.033 GB, free: 185.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/4.238, allocations: 103.4 kB / 3.033 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/4.238, allocations: 6.609 kB / 3.033 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/4.238, allocations: 19.05 kB / 3.033 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/4.238, allocations: 7.984 kB / 3.033 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/4.238, allocations: 15.17 kB / 3.033 GB, free: 185.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001209/4.238, allocations: 141.8 kB / 3.033 GB, free: 185.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/4.238, allocations: 4 kB / 3.033 GB, free: 185.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004873/4.239, allocations: 102.9 kB / 3.033 GB, free: 185.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001266/4.24, allocations: 1.454 MB / 3.035 GB, free: 183.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005087/4.241, allocations: 208.8 kB / 3.035 GB, free: 183.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/4.241, allocations: 0 / 3.035 GB, free: 183.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/4.241, allocations: 112.8 kB / 3.035 GB, free: 183.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/4.241, allocations: 53.06 kB / 3.035 GB, free: 183.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/4.243, allocations: 1.893 MB / 3.037 GB, free: 181.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/4.243, allocations: 0.7363 MB / 3.038 GB, free: 180.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002767/4.244, allocations: 45.88 kB / 3.038 GB, free: 180.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/4.244, allocations: 64.58 kB / 3.038 GB, free: 180.9 MB / 1.167 GB Notification: Performance of SimCode: time 2.31e-07/4.244, allocations: 4 kB / 3.038 GB, free: 180.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/4.269, allocations: 16.03 MB / 3.053 GB, free: 165 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/4.269, allocations: 198.8 kB / 3.054 GB, free: 164.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.1/6.369, allocations: 0 / 3.054 GB, free: 164.8 MB / 1.167 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat