Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.436/2.436, allocations: 390.5 MB / 398 MB, free: 10.93 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.001014/0.001014, allocations: 176.9 kB / 491.2 MB, free: 1.539 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.46/1.46, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0009419/0.0009419, allocations: 103.7 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.805e-05/2.764e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.323, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.012/5.335, allocations: 1.731 GB / 2.943 GB, free: 107.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/5.335, allocations: 79.58 kB / 2.943 GB, free: 107.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1486/5.484, allocations: 74.61 MB / 3.016 GB, free: 37.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.166e-06/5.484, allocations: 0 / 3.016 GB, free: 37.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.939e-05/5.484, allocations: 4 kB / 3.016 GB, free: 37.4 MB / 1.151 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.001179/5.485, allocations: 479 kB / 3.016 GB, free: 36.89 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.37e-05/5.485, allocations: 16.03 kB / 3.016 GB, free: 36.87 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/5.487, allocations: 79.72 kB / 3.017 GB, free: 36.79 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/5.487, allocations: 214.7 kB / 3.017 GB, free: 36.54 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/5.487, allocations: 8 kB / 3.017 GB, free: 36.54 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/5.487, allocations: 12 kB / 3.017 GB, free: 36.52 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004655/5.488, allocations: 135.9 kB / 3.017 GB, free: 36.39 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004751/5.488, allocations: 206.9 kB / 3.017 GB, free: 36.16 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/5.488, allocations: 0 / 3.017 GB, free: 36.16 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/5.488, allocations: 3.984 kB / 3.017 GB, free: 36.16 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/5.488, allocations: 4 kB / 3.017 GB, free: 36.15 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/5.49, allocations: 0.9628 MB / 3.018 GB, free: 35.13 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/5.491, allocations: 134.6 kB / 3.018 GB, free: 34.99 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/5.491, allocations: 60.84 kB / 3.018 GB, free: 34.93 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/5.491, allocations: 0 / 3.018 GB, free: 34.93 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/5.491, allocations: 30.78 kB / 3.018 GB, free: 34.89 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 3.236e-06/5.491, allocations: 0 / 3.018 GB, free: 34.89 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0005038/5.492, allocations: 145.3 kB / 3.018 GB, free: 34.74 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/5.492, allocations: 55.41 kB / 3.018 GB, free: 34.68 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/5.492, allocations: 139.6 kB / 3.019 GB, free: 34.53 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/5.492, allocations: 25.7 kB / 3.019 GB, free: 34.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/5.492, allocations: 143.9 kB / 3.019 GB, free: 34.35 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/5.492, allocations: 35.45 kB / 3.019 GB, free: 34.32 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/5.492, allocations: 0 / 3.019 GB, free: 34.32 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.925e-05/5.492, allocations: 326.8 kB / 3.019 GB, free: 33.99 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/5.492, allocations: 47.98 kB / 3.019 GB, free: 33.94 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/5.493, allocations: 107.9 kB / 3.019 GB, free: 33.81 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/5.493, allocations: 63.84 kB / 3.019 GB, free: 33.75 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/5.493, allocations: 3.938 kB / 3.019 GB, free: 33.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005444/5.493, allocations: 187 kB / 3.019 GB, free: 33.56 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/5.493, allocations: 8 kB / 3.019 GB, free: 33.55 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/5.493, allocations: 0 / 3.019 GB, free: 33.55 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/5.493, allocations: 4 kB / 3.019 GB, free: 33.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/5.494, allocations: 59.88 kB / 3.02 GB, free: 33.49 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/5.494, allocations: 3.938 kB / 3.02 GB, free: 33.48 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/5.495, allocations: 47.83 kB / 3.02 GB, free: 33.44 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/5.495, allocations: 7.984 kB / 3.02 GB, free: 33.43 MB / 1.151 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 () * 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.0001071/5.495, allocations: 108.9 kB / 3.02 GB, free: 33.32 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004056/5.495, allocations: 125.5 kB / 3.02 GB, free: 33.19 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/5.495, allocations: 11.91 kB / 3.02 GB, free: 33.18 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007164/5.496, allocations: 235 kB / 3.02 GB, free: 32.94 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/5.496, allocations: 4 kB / 3.02 GB, free: 32.94 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/5.496, allocations: 7.953 kB / 3.02 GB, free: 32.93 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/5.496, allocations: 3.984 kB / 3.02 GB, free: 32.93 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/5.497, allocations: 245.8 kB / 3.02 GB, free: 32.65 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/5.497, allocations: 0 / 3.02 GB, free: 32.65 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/5.497, allocations: 51.95 kB / 3.02 GB, free: 32.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/5.497, allocations: 0 / 3.02 GB, free: 32.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/5.497, allocations: 0 / 3.02 GB, free: 32.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/5.497, allocations: 11.92 kB / 3.02 GB, free: 32.59 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/5.497, allocations: 0 / 3.02 GB, free: 32.59 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/5.498, allocations: 297.3 kB / 3.021 GB, free: 32.28 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/5.498, allocations: 96.86 kB / 3.021 GB, free: 32.17 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/5.498, allocations: 0 / 3.021 GB, free: 32.17 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/5.498, allocations: 19.97 kB / 3.021 GB, free: 32.15 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/5.498, allocations: 15.97 kB / 3.021 GB, free: 32.13 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/5.498, allocations: 11.98 kB / 3.021 GB, free: 32.12 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000105/5.498, allocations: 114.3 kB / 3.021 GB, free: 32.01 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.41e-07/5.499, allocations: 0 / 3.021 GB, free: 32.01 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007841/5.499, allocations: 87.83 kB / 3.021 GB, free: 31.93 MB / 1.151 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 () * 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.001908/5.501, allocations: 1.499 MB / 3.022 GB, free: 30.41 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004786/5.502, allocations: 144.1 kB / 3.023 GB, free: 30.27 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/5.502, allocations: 4 kB / 3.023 GB, free: 30.27 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/5.502, allocations: 92.72 kB / 3.023 GB, free: 30.18 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/5.502, allocations: 23.92 kB / 3.023 GB, free: 30.15 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/5.504, allocations: 293.2 kB / 3.023 GB, free: 29.83 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/5.504, allocations: 0.7324 MB / 3.024 GB, free: 29.07 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006047/5.504, allocations: 53.23 kB / 3.024 GB, free: 29.02 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/5.505, allocations: 59.39 kB / 3.024 GB, free: 28.96 MB / 1.151 GB Notification: Performance of SimCode: time 9.02e-07/5.505, allocations: 0 / 3.024 GB, free: 28.96 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03779/5.542, allocations: 9.495 MB / 3.033 GB, free: 19.48 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/5.543, allocations: 165 kB / 3.033 GB, free: 19.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/7.428, allocations: 0 / 3.033 GB, free: 19.3 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat