Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",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 1.949/1.949, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001001/0.001001, allocations: 173 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0008247/0.0008246, allocations: 91.95 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.387e-05/2.396e-05, allocations: 11.03 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1833, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6576/0.841, allocations: 151.4 MB / 1.367 GB, free: 2.582 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.8412, allocations: 71.33 kB / 1.367 GB, free: 2.543 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00565/0.8469, allocations: 1.979 MB / 1.369 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8469, allocations: 4 kB / 1.369 GB, free: 0.793 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.8469, allocations: 0 / 1.369 GB, free: 0.793 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003078/0.8472, allocations: 361.8 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.8473, allocations: 8.031 kB / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.8473, allocations: 34.56 kB / 1.369 GB, free: 356 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.8476, allocations: 31.91 kB / 1.369 GB, free: 324 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.152e-05/0.8477, allocations: 159.9 kB / 1.369 GB, free: 124 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.8477, allocations: 0 / 1.369 GB, free: 124 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.8478, allocations: 7.5 kB / 1.369 GB, free: 120 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.809e-05/0.8479, allocations: 45.3 kB / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.8479, allocations: 0 / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.8479, allocations: 0 / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.8479, allocations: 4 kB / 1.369 GB, free: 68 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.274e-05/0.848, allocations: 29.36 kB / 1.369 GB, free: 48 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.8484, allocations: 276 kB / 1.37 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.684e-05/0.8484, allocations: 37.31 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.8485, allocations: 12.05 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.8485, allocations: 4 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.8485, allocations: 34.56 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 3.005e-06/0.8485, allocations: 4.812 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001537/0.8487, allocations: 57.64 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.8487, allocations: 51.41 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.111e-05/0.8488, allocations: 100.7 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.8488, allocations: 25.7 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.8488, allocations: 80.17 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.8489, allocations: 15.39 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.8489, allocations: 0 / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.541e-05/0.849, allocations: 316.8 kB / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.849, allocations: 11.3 kB / 1.37 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/0.849, allocations: 7.812 kB / 1.37 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.796e-05/0.849, allocations: 11.38 kB / 1.37 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.8491, allocations: 0 / 1.37 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.371e-05/0.8492, allocations: 64.58 kB / 1.37 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.8492, allocations: 8 kB / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.8492, allocations: 0 / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.8492, allocations: 0.875 kB / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.8493, allocations: 15.98 kB / 1.37 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.8493, allocations: 7.938 kB / 1.37 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.463e-05/0.8494, allocations: 12.17 kB / 1.37 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.8495, allocations: 3.984 kB / 1.37 GB, free: 14.86 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 6.677e-05/0.8495, allocations: 105 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.8496, allocations: 11.89 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.8496, allocations: 3.125 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.8496, allocations: 0 / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.8496, allocations: 4 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8496, allocations: 7.891 kB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.8498, allocations: 168.2 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.8498, allocations: 4 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.8499, allocations: 19.97 kB / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8499, allocations: 0 / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.8499, allocations: 3 kB / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.8499, allocations: 0 / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.8499, allocations: 3.938 kB / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.8501, allocations: 157.1 kB / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.8501, allocations: 77.11 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.8501, allocations: 4 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.8503, allocations: 11.98 kB / 1.371 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.8503, allocations: 0 / 1.371 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.8503, allocations: 3.938 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.8503, allocations: 87.02 kB / 1.371 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8503, allocations: 0 / 1.371 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001972/0.8506, allocations: 23.98 kB / 1.371 GB, free: 14.11 MB / 0.8386 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 (2): * Single equations (assignments): 2 * 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.0003945/0.851, allocations: 0.6908 MB / 1.372 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.599e-05/0.851, allocations: 26.98 kB / 1.372 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8511, allocations: 96 / 1.372 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.35e-05/0.8511, allocations: 22.55 kB / 1.372 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.8512, allocations: 0.6875 kB / 1.372 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.8516, allocations: 113.7 kB / 1.372 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.8518, allocations: 0.6809 MB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.651e-05/0.8519, allocations: 11.97 kB / 1.373 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.852, allocations: 19.36 kB / 1.373 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/0.852, allocations: 0 / 1.373 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01015/0.8621, allocations: 1.382 MB / 1.374 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.8623, allocations: 171.6 kB / 1.374 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.393/2.255, allocations: 0 / 1.374 GB, free: 11.05 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat does not exist to compare? outputFormat=mat