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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 106.7 kB / 16.41 MB, free: 6.465 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.001901/0.001901, allocations: 187 kB / 17.34 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.691/2.691, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.91 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8569/0.8584, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002857/0.8613, allocations: 1.413 MB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.8624, allocations: 0.592 MB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.8624, allocations: 4 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.8625, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.335e-05/0.8626, allocations: 7.938 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.8631, allocations: 91.56 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.695e-05/0.8631, allocations: 27.86 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.8633, allocations: 15.92 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.997e-05/0.8633, allocations: 7.984 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.07e-05/0.8634, allocations: 15.94 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.8634, allocations: 4 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002983/0.8637, allocations: 139.8 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.8637, allocations: 7.984 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.8638, allocations: 7.938 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.864, allocations: 99.69 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.864, allocations: 3.938 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.326e-06/0.864, allocations: 0 / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.864, allocations: 3.938 kB / 1.211 GB, free: 11.17 MB / 0.9356 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.0004666/0.8645, allocations: 365.2 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.8645, allocations: 12.03 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004322/0.865, allocations: 24.91 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.8651, allocations: 164.4 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.8651, allocations: 384 / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.8651, allocations: 8.297 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.8654, allocations: 74.2 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.8654, allocations: 192 / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.8654, allocations: 3.938 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.8655, allocations: 0 / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.8657, allocations: 51.94 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.8662, allocations: 276.9 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.8664, allocations: 54.48 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.8666, allocations: 36.89 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.8666, allocations: 0 / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.8666, allocations: 34.55 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.8666, allocations: 0 / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0005152/0.8671, allocations: 117.5 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.8672, allocations: 55.41 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.964e-05/0.8673, allocations: 97.86 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.8673, allocations: 25.7 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.8673, allocations: 84.12 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.8674, allocations: 11.89 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.8674, allocations: 17.72 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.8675, allocations: 318.9 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.8677, allocations: 31.91 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.8678, allocations: 23.97 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.8681, allocations: 60.88 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8681, allocations: 0 / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000326/0.8684, allocations: 93.5 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.8685, allocations: 8 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.8685, allocations: 0 / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.8685, allocations: 4.031 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.8686, allocations: 11.98 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.8686, allocations: 0 / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.208e-05/0.8687, allocations: 7.984 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.8688, allocations: 7.984 kB / 1.213 GB, free: 8.902 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.649e-05/0.8688, allocations: 113.8 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.8689, allocations: 0 / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.495e-05/0.8689, allocations: 15.11 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8689, allocations: 0 / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.8689, allocations: 0 / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.869, allocations: 0 / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.8691, allocations: 169.6 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.8691, allocations: 3.938 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.8693, allocations: 11.98 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.8693, allocations: 4 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.8693, allocations: 7.984 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.8693, allocations: 3.938 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8693, allocations: 0 / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.8697, allocations: 187.3 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.8697, allocations: 89.06 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.8697, allocations: 0 / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.8699, allocations: 7.984 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.8699, allocations: 4.188 kB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.8699, allocations: 0 / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.87, allocations: 83.27 kB / 1.213 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.87, allocations: 0 / 1.213 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002532/0.8702, allocations: 15.98 kB / 1.213 GB, free: 8.105 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001812/0.8704, allocations: 115.2 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.8708, allocations: 63.86 kB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.8708, allocations: 0 / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.8709, allocations: 32.03 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.8712, allocations: 9.812 kB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.8717, allocations: 156.3 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.8719, allocations: 0.6729 MB / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.872, allocations: 15.42 kB / 1.214 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of SimCode: time 2.01e-07/0.872, allocations: 0 / 1.214 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of Templates: time 0.002513/0.8745, allocations: 0.9115 MB / 1.215 GB, free: 6.07 MB / 0.9356 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches