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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008559/0.000856, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009117/0.0009118, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.576/2.576, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003154, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.836/0.8363, allocations: 142.4 MB / 0.9544 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001931/0.8383, allocations: 1.126 MB / 0.9555 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.8394, allocations: 0.5533 MB / 0.9561 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.8395, allocations: 0 / 0.9561 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.8395, allocations: 4 kB / 0.9561 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.202e-05/0.8396, allocations: 8.922 kB / 0.9561 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.84, allocations: 75.3 kB / 0.9562 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.071e-05/0.8401, allocations: 24.88 kB / 0.9562 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.8402, allocations: 10.22 kB / 0.9562 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.68e-05/0.8403, allocations: 4.062 kB / 0.9562 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.8404, allocations: 15.89 kB / 0.9562 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.8404, allocations: 1 kB / 0.9562 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/0.8407, allocations: 144.5 kB / 0.9564 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.8407, allocations: 9.141 kB / 0.9564 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.8408, allocations: 30.61 kB / 0.9564 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.841, allocations: 73 kB / 0.9565 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.841, allocations: 1.5 kB / 0.9565 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.264e-06/0.841, allocations: 0 / 0.9565 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.841, allocations: 0 / 0.9565 GB, free: 6.145 MB / 0.7169 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.0005446/0.8416, allocations: 364.7 kB / 0.9568 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.8416, allocations: 9.594 kB / 0.9568 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004309/0.8421, allocations: 28.17 kB / 0.9568 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.8422, allocations: 168.5 kB / 0.957 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.8422, allocations: 4.953 kB / 0.957 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.8423, allocations: 1.375 kB / 0.957 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.8425, allocations: 70.89 kB / 0.9571 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.8426, allocations: 0 / 0.9571 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.8426, allocations: 3.938 kB / 0.9571 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.8426, allocations: 4.672 kB / 0.9571 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.8429, allocations: 65.97 kB / 0.9572 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.8434, allocations: 271.5 kB / 0.9574 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.8436, allocations: 64.62 kB / 0.9575 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.8437, allocations: 36.98 kB / 0.9575 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.8438, allocations: 7.953 kB / 0.9575 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.8438, allocations: 35.97 kB / 0.9575 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.295e-06/0.8438, allocations: 0 / 0.9575 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0005238/0.8444, allocations: 133.5 kB / 0.9577 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.8444, allocations: 51.41 kB / 0.9577 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.8445, allocations: 99.81 kB / 0.9578 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.8445, allocations: 29.7 kB / 0.9578 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.8446, allocations: 80.27 kB / 0.9579 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.8446, allocations: 9.312 kB / 0.9579 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.8446, allocations: 0 / 0.9579 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/0.8447, allocations: 316.2 kB / 0.9582 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.8448, allocations: 30.12 kB / 0.9583 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.8449, allocations: 39.53 kB / 0.9583 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.8451, allocations: 29.94 kB / 0.9583 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.8451, allocations: 1.094 kB / 0.9583 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002659/0.8453, allocations: 100.2 kB / 0.9584 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.8454, allocations: 9.359 kB / 0.9584 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.8454, allocations: 0 / 0.9584 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.8454, allocations: 0 / 0.9584 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.8455, allocations: 18.83 kB / 0.9585 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.8455, allocations: 0 / 0.9585 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.954e-05/0.8456, allocations: 11.14 kB / 0.9585 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.8457, allocations: 1.812 kB / 0.9585 GB, free: 4.23 MB / 0.7169 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 () * Number of clocked 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.703e-05/0.8457, allocations: 111.6 kB / 0.9586 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.8457, allocations: 1.781 kB / 0.9586 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.8458, allocations: 15.06 kB / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.8458, allocations: 1.781 kB / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.8458, allocations: 0 / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.8458, allocations: 3.938 kB / 0.9586 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.8459, allocations: 163 kB / 0.9588 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.846, allocations: 1.812 kB / 0.9588 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.8461, allocations: 17.83 kB / 0.9588 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.8461, allocations: 4 kB / 0.9588 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.8461, allocations: 9.906 kB / 0.9588 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8461, allocations: 0 / 0.9588 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8461, allocations: 0 / 0.9588 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.8464, allocations: 194.5 kB / 0.959 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/0.8464, allocations: 86.41 kB / 0.9591 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.8465, allocations: 3.938 kB / 0.9591 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.8466, allocations: 20.19 kB / 0.9591 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.8466, allocations: 1.562 kB / 0.9591 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.8466, allocations: 4.031 kB / 0.9591 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.615e-05/0.8467, allocations: 83.39 kB / 0.9592 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8467, allocations: 0 / 0.9592 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002452/0.8469, allocations: 18.98 kB / 0.9592 GB, free: 3.5 MB / 0.7169 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 (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.0001741/0.8471, allocations: 114.3 kB / 0.9593 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.8474, allocations: 71.45 kB / 0.9594 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8474, allocations: 1.375 kB / 0.9594 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.8475, allocations: 36.06 kB / 0.9594 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.8478, allocations: 2.312 kB / 0.9594 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.8482, allocations: 137.9 kB / 0.9595 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.8484, allocations: 0.6727 MB / 0.9602 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.385e-05/0.8485, allocations: 23.7 kB / 0.9602 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.8485, allocations: 8.469 kB / 0.9602 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.8485, allocations: 0 / 0.9602 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.003419/0.852, allocations: 0.6897 MB / 0.9609 GB, free: 2.137 MB / 0.7169 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches