Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_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.951/1.951, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001/0.001, allocations: 168.9 kB / 496.1 MB, free: 12.86 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.252/1.252, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0007966/0.0007966, allocations: 87.77 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.532e-05/2.534e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2027, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6814/0.8841, allocations: 151 MB / 1.366 GB, free: 3.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.8844, allocations: 81.69 kB / 1.366 GB, free: 2.973 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005236/0.8896, allocations: 1.809 MB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8897, allocations: 0 / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.8897, allocations: 0 / 1.368 GB, free: 1.379 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002557/0.8899, allocations: 338.5 kB / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.89, allocations: 8.031 kB / 1.368 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.89, allocations: 41.86 kB / 1.369 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/0.8903, allocations: 27.92 kB / 1.369 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.803e-05/0.8905, allocations: 163 kB / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-06/0.8905, allocations: 0 / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.8905, allocations: 0 / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.255e-05/0.8906, allocations: 44.17 kB / 1.369 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.8906, allocations: 0 / 1.369 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.8906, allocations: 7.984 kB / 1.369 GB, free: 0.668 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.8906, allocations: 4 kB / 1.369 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.719e-05/0.8907, allocations: 15.05 kB / 1.369 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.8908, allocations: 160.1 kB / 1.369 GB, free: 464 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.022e-05/0.8909, allocations: 40.59 kB / 1.369 GB, free: 420 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.8909, allocations: 12.42 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.8909, allocations: 0 / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.891, allocations: 34.56 kB / 1.369 GB, free: 364 kB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.891, allocations: 0 / 1.369 GB, free: 364 kB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001498/0.8911, allocations: 52.97 kB / 1.369 GB, free: 308 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.8912, allocations: 56.27 kB / 1.369 GB, free: 240 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.07e-05/0.8912, allocations: 92.44 kB / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.8913, allocations: 25.7 kB / 1.369 GB, free: 112 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.503e-05/0.8913, allocations: 80.14 kB / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.8913, allocations: 3.938 kB / 1.369 GB, free: 24 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.8913, allocations: 7.969 kB / 1.369 GB, free: 16 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.8914, allocations: 322.2 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.8914, allocations: 7.984 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/0.8915, allocations: 13.09 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.8915, allocations: 7.125 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.8915, allocations: 0 / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.571e-05/0.8916, allocations: 52.77 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.8916, allocations: 5.406 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.8916, allocations: 4.094 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.8917, allocations: 4 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.8918, allocations: 7.984 kB / 1.37 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.8918, allocations: 0 / 1.37 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.508e-05/0.8918, allocations: 0 / 1.37 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.8919, allocations: 4 kB / 1.37 GB, free: 15.6 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 5.552e-05/0.8919, allocations: 108.4 kB / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-06/0.8919, allocations: 3.938 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.892, allocations: 15.11 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.892, allocations: 0 / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.892, allocations: 0 / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.892, allocations: 0 / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.548e-05/0.8921, allocations: 160.9 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8921, allocations: 0 / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/0.8922, allocations: 7.984 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.8922, allocations: 0 / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.8922, allocations: 4 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.8922, allocations: 4 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8922, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.8923, allocations: 75.69 kB / 1.37 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.8924, allocations: 87.66 kB / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.8924, allocations: 0 / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.663e-05/0.8925, allocations: 4 kB / 1.37 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.8925, allocations: 0 / 1.37 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.8925, allocations: 4.031 kB / 1.37 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.801e-05/0.8925, allocations: 87.2 kB / 1.37 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8925, allocations: 0 / 1.37 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001745/0.8927, allocations: 18.88 kB / 1.37 GB, free: 14.96 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.0003738/0.8931, allocations: 0.6307 MB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.788e-05/0.8932, allocations: 22.42 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.8932, allocations: 0 / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.391e-05/0.8932, allocations: 18.86 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.8934, allocations: 6 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.8937, allocations: 93.88 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.8938, allocations: 0.6772 MB / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.34e-05/0.8939, allocations: 11.98 kB / 1.372 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.894, allocations: 15.38 kB / 1.372 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.894, allocations: 0 / 1.372 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01104/0.905, allocations: 1.357 MB / 1.373 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.9053, allocations: 182.7 kB / 1.373 GB, free: 12 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.375/2.281, allocations: 1.406 kB / 1.373 GB, free: 12 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat does not exist to compare? outputFormat=mat