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.238/2.238, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001331/0.001331, allocations: 176.9 kB / 487.4 MB, free: 5.078 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.623/1.623, allocations: 221.5 MB / 0.7824 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008989/0.0008989, allocations: 87.86 kB / 0.9219 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.799e-05/2.801e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3257, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.33/4.656, allocations: 1.73 GB / 2.936 GB, free: 128 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/4.657, allocations: 81.38 kB / 2.936 GB, free: 127.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1386/4.795, allocations: 74.6 MB / 3.009 GB, free: 58.13 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.373e-06/4.795, allocations: 0 / 3.009 GB, free: 58.13 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.164e-05/4.795, allocations: 8 kB / 3.009 GB, free: 58.12 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.0007125/4.796, allocations: 478.9 kB / 3.009 GB, free: 57.61 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/4.796, allocations: 12.56 kB / 3.009 GB, free: 57.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000807/4.797, allocations: 79.72 kB / 3.009 GB, free: 57.52 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/4.797, allocations: 218.7 kB / 3.01 GB, free: 57.27 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/4.797, allocations: 8 kB / 3.01 GB, free: 57.26 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/4.797, allocations: 11.94 kB / 3.01 GB, free: 57.25 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002512/4.797, allocations: 131.7 kB / 3.01 GB, free: 57.12 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/4.798, allocations: 211.1 kB / 3.01 GB, free: 56.88 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/4.798, allocations: 0 / 3.01 GB, free: 56.88 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/4.798, allocations: 0 / 3.01 GB, free: 56.88 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/4.798, allocations: 8 kB / 3.01 GB, free: 56.88 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/4.799, allocations: 0.9588 MB / 3.011 GB, free: 55.86 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/4.799, allocations: 138.5 kB / 3.011 GB, free: 55.71 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.754e-05/4.799, allocations: 64.88 kB / 3.011 GB, free: 55.65 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/4.799, allocations: 0 / 3.011 GB, free: 55.65 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/4.799, allocations: 34.56 kB / 3.011 GB, free: 55.61 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 8.92e-07/4.799, allocations: 0 / 3.011 GB, free: 55.61 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0003139/4.8, allocations: 137.6 kB / 3.011 GB, free: 55.46 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/4.8, allocations: 51.41 kB / 3.011 GB, free: 55.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/4.8, allocations: 143.8 kB / 3.011 GB, free: 55.25 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/4.8, allocations: 29.7 kB / 3.011 GB, free: 55.22 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/4.8, allocations: 139.9 kB / 3.012 GB, free: 55.08 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/4.8, allocations: 35.45 kB / 3.012 GB, free: 55.04 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/4.8, allocations: 0 / 3.012 GB, free: 55.04 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.997e-05/4.8, allocations: 330.7 kB / 3.012 GB, free: 54.71 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.032e-05/4.8, allocations: 47.98 kB / 3.012 GB, free: 54.66 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/4.8, allocations: 103.9 kB / 3.012 GB, free: 54.54 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/4.8, allocations: 67.83 kB / 3.012 GB, free: 54.47 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/4.8, allocations: 0 / 3.012 GB, free: 54.47 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002908/4.801, allocations: 187.8 kB / 3.012 GB, free: 54.29 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/4.801, allocations: 8 kB / 3.012 GB, free: 54.28 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/4.801, allocations: 0 / 3.012 GB, free: 54.28 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/4.801, allocations: 4 kB / 3.012 GB, free: 54.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/4.801, allocations: 55.88 kB / 3.012 GB, free: 54.22 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/4.801, allocations: 4 kB / 3.012 GB, free: 54.21 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/4.801, allocations: 35.94 kB / 3.012 GB, free: 54.18 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/4.801, allocations: 11.98 kB / 3.012 GB, free: 54.17 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 7.617e-05/4.802, allocations: 112.9 kB / 3.013 GB, free: 54.05 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002242/4.802, allocations: 125.5 kB / 3.013 GB, free: 53.92 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/4.802, allocations: 19.89 kB / 3.013 GB, free: 53.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/4.802, allocations: 235.2 kB / 3.013 GB, free: 53.67 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/4.802, allocations: 4 kB / 3.013 GB, free: 53.67 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/4.802, allocations: 0 / 3.013 GB, free: 53.67 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/4.802, allocations: 3.953 kB / 3.013 GB, free: 53.66 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/4.803, allocations: 250 kB / 3.013 GB, free: 53.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/4.803, allocations: 0 / 3.013 GB, free: 53.38 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/4.803, allocations: 55.95 kB / 3.013 GB, free: 53.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/4.803, allocations: 0 / 3.013 GB, free: 53.33 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/4.803, allocations: 3.984 kB / 3.013 GB, free: 53.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/4.803, allocations: 4 kB / 3.013 GB, free: 53.32 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/4.803, allocations: 0 / 3.013 GB, free: 53.32 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/4.803, allocations: 292.3 kB / 3.013 GB, free: 53.02 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/4.803, allocations: 96.86 kB / 3.014 GB, free: 52.91 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/4.803, allocations: 7.984 kB / 3.014 GB, free: 52.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/4.803, allocations: 11.98 kB / 3.014 GB, free: 52.89 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/4.804, allocations: 11.98 kB / 3.014 GB, free: 52.88 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/4.804, allocations: 11.98 kB / 3.014 GB, free: 52.86 MB / 1.151 GB Notification: Performance of sorting global known variables: time 6.019e-05/4.804, allocations: 120.5 kB / 3.014 GB, free: 52.75 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.273e-06/4.804, allocations: 0 / 3.014 GB, free: 52.75 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004362/4.804, allocations: 87.77 kB / 3.014 GB, free: 52.66 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.001169/4.805, allocations: 1.498 MB / 3.015 GB, free: 51.14 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002547/4.805, allocations: 147.1 kB / 3.015 GB, free: 51 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/4.806, allocations: 8 kB / 3.015 GB, free: 51 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/4.806, allocations: 84.23 kB / 3.016 GB, free: 50.91 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/4.806, allocations: 23.84 kB / 3.016 GB, free: 50.89 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006528/4.807, allocations: 291.6 kB / 3.016 GB, free: 50.57 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/4.807, allocations: 0.7324 MB / 3.017 GB, free: 49.81 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002832/4.807, allocations: 45.27 kB / 3.017 GB, free: 49.76 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/4.807, allocations: 63.39 kB / 3.017 GB, free: 49.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/4.807, allocations: 0 / 3.017 GB, free: 49.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/4.834, allocations: 9.506 MB / 3.026 GB, free: 40.22 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/4.834, allocations: 168 kB / 3.026 GB, free: 40.02 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/6.737, allocations: 4.031 kB / 3.026 GB, free: 40.02 MB / 1.151 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