Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_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.0008429/0.0008429, allocations: 91.61 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.001013/0.001013, 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.459/1.459, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.776/2.776, allocations: 437.7 MB / 0.7117 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004189, allocations: 8.219 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8693/0.8697, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001917/0.8717, allocations: 1.129 MB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.873, allocations: 0.5659 MB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.873, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.8731, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.24e-05/0.8731, allocations: 3.938 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.8736, allocations: 87.64 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.941e-05/0.8737, allocations: 27.91 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.8738, allocations: 4 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.89e-05/0.8738, allocations: 4 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.8739, allocations: 15.92 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.8739, allocations: 0 / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.8742, allocations: 143.7 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.426e-06/0.8743, allocations: 4 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.8743, allocations: 29.7 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.8745, allocations: 65.88 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.8745, allocations: 4 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8745, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.8745, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 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.0005099/0.875, allocations: 363.2 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.8751, allocations: 12.03 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000412/0.8755, allocations: 31.95 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.8757, allocations: 159.1 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.8757, allocations: 3.953 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.8757, allocations: 3.938 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.876, allocations: 81.58 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.876, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.876, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.876, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.8763, allocations: 63.94 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.8768, allocations: 276.8 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.8771, allocations: 70.47 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.8772, allocations: 40.88 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.8773, allocations: 0 / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.8773, allocations: 38.5 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.8773, allocations: 0 / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0005035/0.8778, allocations: 129.7 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.8779, allocations: 55.41 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.334e-05/0.878, allocations: 93.86 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.8781, allocations: 29.64 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.8781, allocations: 88.14 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.8782, allocations: 3.906 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.8782, allocations: 0 / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.8783, allocations: 322.8 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.8784, allocations: 31.97 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.8786, allocations: 35.97 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.8787, allocations: 23.98 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8787, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002877/0.879, allocations: 105.7 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.879, allocations: 6.188 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.879, allocations: 0 / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.879, allocations: 0 / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.8792, allocations: 15.98 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.8792, allocations: 4.031 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.17e-05/0.8793, allocations: 11.98 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.8793, allocations: 3.984 kB / 1.026 GB, free: 11.66 MB / 0.7794 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 8.708e-05/0.8794, allocations: 121.7 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.8794, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.8795, allocations: 11.06 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8795, allocations: 4 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.8795, allocations: 4 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.8795, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.8797, allocations: 169.4 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8797, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.8798, allocations: 19.97 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.8799, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.8799, allocations: 4 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.8799, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8799, allocations: 4 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.8803, allocations: 195.4 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.8803, allocations: 81.05 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.8804, allocations: 4 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.8805, allocations: 19.98 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.8805, allocations: 7.875 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.8805, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.8806, allocations: 83.27 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8806, allocations: 4.031 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002406/0.8808, allocations: 12 kB / 1.027 GB, free: 10.83 MB / 0.7794 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.0002719/0.8811, allocations: 111.2 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003009/0.8814, allocations: 71.94 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8814, allocations: 0 / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.8816, allocations: 31.97 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.8819, allocations: 11.89 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.8823, allocations: 148.6 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.8827, allocations: 0.677 MB / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.734e-05/0.8828, allocations: 15.91 kB / 1.028 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.8828, allocations: 7.438 kB / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.8828, allocations: 0 / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of Templates: time 0.003378/0.8862, allocations: 0.6988 MB / 1.029 GB, free: 9.016 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches