Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001133/0.001133, allocations: 169 kB / 492.3 MB, free: 0.6094 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.522/1.522, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.000929/0.0009291, allocations: 95.88 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.192e-05, allocations: 11.98 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2839, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.36, allocations: 150.6 MB / 1.359 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/1.36, allocations: 79.09 kB / 1.36 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007062/1.367, allocations: 1.978 MB / 1.361 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.034e-06/1.367, allocations: 0 / 1.361 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.766e-06/1.367, allocations: 0 / 1.361 GB, free: 34.66 MB / 0.8386 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.0003843/1.368, allocations: 358.8 kB / 1.362 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/1.368, allocations: 11.59 kB / 1.362 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/1.368, allocations: 27.94 kB / 1.362 GB, free: 34.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/1.368, allocations: 168.5 kB / 1.362 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/1.368, allocations: 0 / 1.362 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/1.368, allocations: 3.812 kB / 1.362 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/1.368, allocations: 53.91 kB / 1.362 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.368, allocations: 4 kB / 1.362 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/1.368, allocations: 0 / 1.362 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/1.368, allocations: 0 / 1.362 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.69e-05/1.368, allocations: 21.27 kB / 1.362 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/1.369, allocations: 275.8 kB / 1.362 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.484e-05/1.369, allocations: 35.47 kB / 1.362 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/1.369, allocations: 20.95 kB / 1.362 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/1.369, allocations: 3.828 kB / 1.362 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/1.369, allocations: 34.84 kB / 1.362 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/1.369, allocations: 4 kB / 1.362 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001932/1.369, allocations: 53.5 kB / 1.362 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/1.369, allocations: 55.36 kB / 1.363 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.786e-05/1.369, allocations: 90.89 kB / 1.363 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/1.369, allocations: 29.52 kB / 1.363 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/1.369, allocations: 83.98 kB / 1.363 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/1.369, allocations: 5.219 kB / 1.363 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/1.369, allocations: 0 / 1.363 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.37, allocations: 318.7 kB / 1.363 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.072e-05/1.37, allocations: 14.42 kB / 1.363 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.233e-05/1.37, allocations: 13.69 kB / 1.363 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.286e-05/1.37, allocations: 9.297 kB / 1.363 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.37, allocations: 0 / 1.363 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.268e-05/1.37, allocations: 54.14 kB / 1.363 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.37, allocations: 10.73 kB / 1.363 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/1.37, allocations: 0 / 1.363 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/1.37, allocations: 96 / 1.363 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/1.37, allocations: 20.59 kB / 1.363 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.37, allocations: 0 / 1.363 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.721e-05/1.37, allocations: 14.73 kB / 1.363 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/1.37, allocations: 5.656 kB / 1.363 GB, free: 33.04 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.785e-05/1.37, allocations: 104 kB / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/1.37, allocations: 7.906 kB / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/1.37, allocations: 6.047 kB / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/1.37, allocations: 3.875 kB / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.37, allocations: 0 / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.37, allocations: 3.938 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/1.37, allocations: 168.1 kB / 1.363 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/1.37, allocations: 5.25 kB / 1.363 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/1.371, allocations: 16.84 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.371, allocations: 3.984 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/1.371, allocations: 5.266 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.371, allocations: 0 / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/1.371, allocations: 0 / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/1.371, allocations: 151.5 kB / 1.364 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/1.371, allocations: 81.05 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/1.371, allocations: 5.578 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/1.371, allocations: 17.36 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/1.371, allocations: 1.641 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/1.371, allocations: 1.125 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.683e-05/1.371, allocations: 80.75 kB / 1.364 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/1.371, allocations: 0 / 1.364 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002246/1.371, allocations: 11.66 kB / 1.364 GB, free: 32.4 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.0001677/1.371, allocations: 123.6 kB / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001002/1.372, allocations: 25.2 kB / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.372, allocations: 0 / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.529e-05/1.372, allocations: 13.19 kB / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/1.372, allocations: 10.12 kB / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/1.372, allocations: 75.08 kB / 1.364 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/1.372, allocations: 0.6818 MB / 1.365 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.099e-05/1.373, allocations: 11.81 kB / 1.365 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/1.373, allocations: 13.39 kB / 1.365 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.373, allocations: 0 / 1.365 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.002848/1.375, allocations: 0.711 MB / 1.365 GB, free: 31.44 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches