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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.272/2.272, allocations: 390.3 MB / 402.8 MB, free: 6.73 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.00121/0.00121, allocations: 184.8 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.557/1.557, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0008721/0.0008722, allocations: 95.89 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.345e-05/4.41e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2892, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9864/1.276, allocations: 151.4 MB / 1.367 GB, free: 2.66 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/1.276, allocations: 75.33 kB / 1.367 GB, free: 2.621 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006176/1.282, allocations: 1.985 MB / 1.369 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.014e-06/1.282, allocations: 0 / 1.369 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.272e-06/1.282, allocations: 0 / 1.369 GB, free: 0.8672 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.0004011/1.283, allocations: 357.9 kB / 1.369 GB, free: 488 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/1.283, allocations: 12.03 kB / 1.369 GB, free: 476 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/1.283, allocations: 27.95 kB / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/1.283, allocations: 163.7 kB / 1.369 GB, free: 244 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/1.283, allocations: 0 / 1.369 GB, free: 244 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/1.283, allocations: 0 / 1.369 GB, free: 244 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/1.283, allocations: 52.05 kB / 1.369 GB, free: 192 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.283, allocations: 7.984 kB / 1.369 GB, free: 184 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/1.283, allocations: 0 / 1.369 GB, free: 184 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.283, allocations: 0 / 1.369 GB, free: 184 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/1.283, allocations: 24.94 kB / 1.369 GB, free: 168 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/1.284, allocations: 270.8 kB / 1.369 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.862e-05/1.284, allocations: 41.25 kB / 1.37 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/1.284, allocations: 19.42 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/1.284, allocations: 3.938 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/1.284, allocations: 30.56 kB / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 2.795e-06/1.284, allocations: 3.938 kB / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002015/1.284, allocations: 61.19 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/1.284, allocations: 51.41 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/1.285, allocations: 96.78 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/1.285, allocations: 25.7 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/1.285, allocations: 84.14 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/1.285, allocations: 6.969 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/1.285, allocations: 0 / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.285, allocations: 314.8 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.083e-05/1.285, allocations: 14.47 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/1.285, allocations: 7.188 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.188e-05/1.285, allocations: 11.31 kB / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/1.285, allocations: 0 / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000109/1.285, allocations: 64.48 kB / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.285, allocations: 8 kB / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/1.285, allocations: 0 / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/1.285, allocations: 0 / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/1.285, allocations: 11.98 kB / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/1.285, allocations: 11.94 kB / 1.37 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.976e-05/1.285, allocations: 8.031 kB / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/1.285, allocations: 7.984 kB / 1.37 GB, free: 14.98 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.379e-05/1.285, allocations: 101 kB / 1.37 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/1.286, allocations: 3.906 kB / 1.37 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/1.286, allocations: 14.5 kB / 1.37 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.286, allocations: 0 / 1.37 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.286, allocations: 4 kB / 1.37 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/1.286, allocations: 3.953 kB / 1.37 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/1.286, allocations: 165.1 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.286, allocations: 4 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/1.286, allocations: 19.72 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.286, allocations: 0 / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/1.286, allocations: 4 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/1.286, allocations: 0 / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.286, allocations: 7.922 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/1.286, allocations: 157.4 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/1.286, allocations: 77.11 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/1.286, allocations: 0 / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/1.286, allocations: 15.92 kB / 1.371 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/1.286, allocations: 4 kB / 1.371 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/1.286, allocations: 8.016 kB / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.322e-05/1.286, allocations: 79.28 kB / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.286, allocations: 0 / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002341/1.287, allocations: 15.19 kB / 1.371 GB, free: 14.24 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.0002069/1.287, allocations: 119.2 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001044/1.287, allocations: 26.11 kB / 1.371 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.287, allocations: 0 / 1.371 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.655e-05/1.287, allocations: 18.06 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/1.287, allocations: 5.031 kB / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/1.287, allocations: 74.97 kB / 1.371 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/1.288, allocations: 0.677 MB / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.944e-05/1.288, allocations: 8.062 kB / 1.372 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/1.288, allocations: 15.42 kB / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.288, allocations: 3.938 kB / 1.372 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of Templates: time 0.002705/1.291, allocations: 0.7014 MB / 1.373 GB, free: 12.57 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches