Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_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.401/2.401, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001036/0.001036, allocations: 186.7 kB / 0.4901 GB, free: 2.223 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.647/1.647, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.001371/0.001371, allocations: 102.4 kB / 0.9396 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004883, allocations: 9.812 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3512, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.458/4.81, allocations: 1.732 GB / 2.961 GB, free: 197.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/4.81, allocations: 97.69 kB / 2.961 GB, free: 197.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1652/4.975, allocations: 86.53 MB / 3.046 GB, free: 125.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.695e-06/4.975, allocations: 0 / 3.046 GB, free: 125.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.004e-05/4.975, allocations: 4 kB / 3.046 GB, free: 125.4 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009369/4.976, allocations: 0.5086 MB / 3.046 GB, free: 124.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/4.976, allocations: 12.56 kB / 3.046 GB, free: 124.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.194e-05/4.976, allocations: 48.17 kB / 3.046 GB, free: 124.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008272/4.977, allocations: 83.72 kB / 3.046 GB, free: 124.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/4.977, allocations: 224.8 kB / 3.047 GB, free: 124.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.382e-05/4.978, allocations: 39.41 kB / 3.047 GB, free: 124.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/4.978, allocations: 16.75 kB / 3.047 GB, free: 124.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/4.978, allocations: 263.2 kB / 3.047 GB, free: 124.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/4.978, allocations: 3.938 kB / 3.047 GB, free: 124.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/4.978, allocations: 8.562 kB / 3.047 GB, free: 124.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/4.978, allocations: 8 kB / 3.047 GB, free: 124.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/4.979, allocations: 168.6 kB / 3.047 GB, free: 124.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/4.98, allocations: 1.201 MB / 3.048 GB, free: 122.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008384/4.981, allocations: 210.1 kB / 3.048 GB, free: 122.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/4.981, allocations: 4 kB / 3.048 GB, free: 122.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/4.981, allocations: 36.88 kB / 3.048 GB, free: 122.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/4.981, allocations: 0 / 3.048 GB, free: 122.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=12): time 0.002769/4.984, allocations: 0.6562 MB / 3.049 GB, free: 122 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/4.984, allocations: 63.28 kB / 3.049 GB, free: 121.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/4.984, allocations: 178.4 kB / 3.049 GB, free: 121.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/4.984, allocations: 29.02 kB / 3.049 GB, free: 121.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/4.984, allocations: 134.3 kB / 3.049 GB, free: 121.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/4.984, allocations: 47.33 kB / 3.05 GB, free: 121.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/4.984, allocations: 3.5 kB / 3.05 GB, free: 121.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.635e-05/4.984, allocations: 328.4 kB / 3.05 GB, free: 121.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/4.985, allocations: 69.33 kB / 3.05 GB, free: 121.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/4.985, allocations: 143.3 kB / 3.05 GB, free: 121.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/4.985, allocations: 87.38 kB / 3.05 GB, free: 121 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/4.985, allocations: 4 kB / 3.05 GB, free: 121 MB / 1.167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00149/4.987, allocations: 391.1 kB / 3.051 GB, free: 120.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/4.987, allocations: 4 kB / 3.051 GB, free: 120.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/4.987, allocations: 4 kB / 3.051 GB, free: 120.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/4.988, allocations: 162.6 kB / 3.051 GB, free: 120.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/4.988, allocations: 47.89 kB / 3.051 GB, free: 120.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003373/4.992, allocations: 3.054 MB / 3.054 GB, free: 117.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/4.992, allocations: 38.23 kB / 3.054 GB, free: 117.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/4.992, allocations: 14.36 kB / 3.054 GB, free: 117.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001416/4.992, allocations: 127 kB / 3.054 GB, free: 117.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/4.992, allocations: 15.81 kB / 3.054 GB, free: 117.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/4.994, allocations: 394.1 kB / 3.054 GB, free: 116.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/4.994, allocations: 4 kB / 3.054 GB, free: 116.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/4.994, allocations: 0 / 3.054 GB, free: 116.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/4.994, allocations: 3.984 kB / 3.054 GB, free: 116.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003581/4.994, allocations: 274.6 kB / 3.055 GB, free: 116.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/4.994, allocations: 0 / 3.055 GB, free: 116.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/4.994, allocations: 19.98 kB / 3.055 GB, free: 116.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009761/4.995, allocations: 168.4 kB / 3.055 GB, free: 116.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/4.995, allocations: 2.438 kB / 3.055 GB, free: 116.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00308/4.998, allocations: 3.115 MB / 3.058 GB, free: 113.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/4.998, allocations: 3.938 kB / 3.058 GB, free: 113.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/4.999, allocations: 445.8 kB / 3.058 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/5, allocations: 116.8 kB / 3.058 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/5, allocations: 11.94 kB / 3.058 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/5, allocations: 11.98 kB / 3.058 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/5, allocations: 19.97 kB / 3.058 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/5, allocations: 4 kB / 3.058 GB, free: 112.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001642/5, allocations: 151 kB / 3.058 GB, free: 112.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/5, allocations: 3.938 kB / 3.059 GB, free: 112.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007405/5.001, allocations: 127.9 kB / 3.059 GB, free: 112.3 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002589/5.004, allocations: 1.574 MB / 3.06 GB, free: 110.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001127/5.005, allocations: 460.1 kB / 3.061 GB, free: 110.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/5.005, allocations: 4 kB / 3.061 GB, free: 110.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006328/5.005, allocations: 370.2 kB / 3.061 GB, free: 109.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/5.006, allocations: 41.53 kB / 3.061 GB, free: 109.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/5.009, allocations: 2.388 MB / 3.063 GB, free: 107.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/5.009, allocations: 0.7363 MB / 3.064 GB, free: 106.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002278/5.01, allocations: 33.94 kB / 3.064 GB, free: 106.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.804e-05/5.01, allocations: 59.41 kB / 3.064 GB, free: 106.5 MB / 1.167 GB Notification: Performance of SimCode: time 8.52e-07/5.01, allocations: 0 / 3.064 GB, free: 106.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/5.041, allocations: 18.54 MB / 3.082 GB, free: 88.17 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/5.042, allocations: 229.8 kB / 3.082 GB, free: 87.93 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/7.448, allocations: 0 / 3.082 GB, free: 87.93 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat