Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007401/0.007401, allocations: 106 kB / 15.73 MB, free: 6 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.001354/0.001354, allocations: 192.2 kB / 16.67 MB, free: 5.922 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.573/2.573, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 64.3 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9746/0.9759, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003046/0.979, allocations: 1.419 MB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005018/0.9796, allocations: 199.5 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.9796, allocations: 4 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.9796, allocations: 0 / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.9797, allocations: 3.938 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.98, allocations: 23.91 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.544e-05/0.98, allocations: 23.92 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.9802, allocations: 4 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.9802, allocations: 15.92 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.9803, allocations: 15.92 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.9803, allocations: 0 / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.789e-05/0.9804, allocations: 31.97 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.9804, allocations: 3.938 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.9804, allocations: 8 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.9806, allocations: 35.89 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.9806, allocations: 4 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9806, allocations: 4 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.9806, allocations: 0 / 1.209 GB, free: 11.84 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.0005492/0.9812, allocations: 335.3 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.9812, allocations: 12.03 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.9814, allocations: 12.94 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.9816, allocations: 164.4 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.9816, allocations: 384 / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.9816, allocations: 4.312 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.9818, allocations: 50.23 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.9818, allocations: 4.125 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.9818, allocations: 3.938 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.9818, allocations: 0 / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.982, allocations: 43.89 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.9825, allocations: 246.8 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.9827, allocations: 42.53 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.9829, allocations: 20.91 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.983, allocations: 4 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.983, allocations: 38.5 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.983, allocations: 0 / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003865/0.9834, allocations: 81.55 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.9835, allocations: 51.41 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.9837, allocations: 110 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.9837, allocations: 25.7 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.9838, allocations: 88.14 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.9838, allocations: 3.906 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.984, allocations: 13.72 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.9841, allocations: 314.8 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.9842, allocations: 15.98 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/0.9843, allocations: 15.98 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.9844, allocations: 48.75 kB / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9845, allocations: 0 / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001934/0.9847, allocations: 65.61 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.9847, allocations: 4 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.9847, allocations: 96 / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.9847, allocations: 4 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.813e-05/0.9848, allocations: 11.98 kB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.9848, allocations: 0 / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/0.9849, allocations: 11.92 kB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.9849, allocations: 0 / 1.211 GB, free: 9.809 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 8.225e-05/0.985, allocations: 113.8 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.985, allocations: 0 / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.9853, allocations: 84.7 kB / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.9853, allocations: 0 / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.9853, allocations: 0 / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.9853, allocations: 0 / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.9855, allocations: 169.5 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9855, allocations: 0 / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.485e-05/0.9855, allocations: 11.98 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9856, allocations: 0 / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.9856, allocations: 7.938 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.9856, allocations: 0 / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.9856, allocations: 4 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.9858, allocations: 179.3 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.9859, allocations: 77.11 kB / 1.212 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.9859, allocations: 0 / 1.212 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.114e-05/0.986, allocations: 11.98 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.9861, allocations: 0 / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.9861, allocations: 4 kB / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.883e-05/0.9861, allocations: 79.28 kB / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9861, allocations: 0 / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002061/0.9863, allocations: 8 kB / 1.212 GB, free: 8.973 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 (3): * Single equations (assignments): 3 * 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.0003011/0.9867, allocations: 99.23 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.9869, allocations: 35.97 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.9869, allocations: 0 / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.23e-05/0.987, allocations: 31.91 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.9873, allocations: 3.938 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.9877, allocations: 122.6 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.988, allocations: 0.6768 MB / 1.213 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.719e-05/0.9881, allocations: 4.062 kB / 1.213 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.9881, allocations: 7.438 kB / 1.213 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.9881, allocations: 4 kB / 1.213 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of Templates: time 0.002705/0.9908, allocations: 0.5097 MB / 1.213 GB, free: 7.422 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches