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.001154/0.001154, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001163, allocations: 200 kB / 16.79 MB, free: 6.828 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.338/1.338, allocations: 222.9 MB / 240.5 MB, free: 4.531 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.667/2.667, allocations: 437 MB / 0.7106 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 67.91 kB / 0.8692 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7601/0.7617, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003261/0.765, allocations: 1.484 MB / 1.019 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.7662, allocations: 0.6007 MB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.7662, allocations: 4 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.932e-05/0.7663, allocations: 0 / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-05/0.7664, allocations: 3.938 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.7668, allocations: 83.7 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.414e-05/0.7669, allocations: 27.86 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.061e-05/0.767, allocations: 4 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.695e-05/0.767, allocations: 7.984 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.7671, allocations: 15.92 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.7671, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.7674, allocations: 151.7 kB / 1.02 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.7675, allocations: 7.984 kB / 1.02 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.7675, allocations: 11.94 kB / 1.02 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.7677, allocations: 69.88 kB / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.7677, allocations: 0 / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7677, allocations: 0 / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.7677, allocations: 0 / 1.02 GB, free: 332 kB / 0.7637 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.00058/0.7683, allocations: 364.9 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.7684, allocations: 8.031 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005087/0.7689, allocations: 32.91 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.769, allocations: 172.2 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.7691, allocations: 384 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.7691, allocations: 4.375 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.7693, allocations: 62.2 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.7694, allocations: 192 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.7694, allocations: 7.938 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.7694, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.7697, allocations: 51.94 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.7702, allocations: 276.8 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.7705, allocations: 58.48 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.7706, allocations: 32.89 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.7706, allocations: 3.984 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.7707, allocations: 34.56 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 3.015e-06/0.7707, allocations: 3.984 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0005288/0.7712, allocations: 117.5 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.7713, allocations: 59.47 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.7713, allocations: 101.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.7714, allocations: 25.7 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.7714, allocations: 84.14 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.7714, allocations: 3.906 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.7715, allocations: 17.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7716, allocations: 314.8 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.7718, allocations: 27.97 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.7719, allocations: 27.97 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.7721, allocations: 52.81 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7722, allocations: 4.062 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003169/0.7725, allocations: 101.4 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.7725, allocations: 4 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.7725, allocations: 0 / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.7725, allocations: 0 / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.7727, allocations: 11.98 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.7727, allocations: 4.031 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.567e-05/0.7728, allocations: 11.98 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.7728, allocations: 0 / 1.022 GB, free: 14.06 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.857e-05/0.7729, allocations: 109.8 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.7729, allocations: 7.984 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.773, allocations: 7.125 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.773, allocations: 4 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.773, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.773, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.7733, allocations: 173.5 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.7733, allocations: 3.938 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.7734, allocations: 11.98 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.7734, allocations: 3.984 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.7734, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7734, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.7735, allocations: 4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.7738, allocations: 191.4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.7739, allocations: 84.95 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.7739, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.7741, allocations: 16.02 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.7741, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.7741, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.701e-05/0.7742, allocations: 87.27 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7742, allocations: 3.938 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002505/0.7744, allocations: 16 kB / 1.022 GB, free: 13.25 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 (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.0002976/0.7747, allocations: 109.1 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.7751, allocations: 63.86 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7751, allocations: 4 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.7752, allocations: 31.97 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.7755, allocations: 3.938 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/0.776, allocations: 166.2 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.7763, allocations: 0.6731 MB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.7764, allocations: 11.42 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.7764, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of Templates: time 0.002679/0.7791, allocations: 0.899 MB / 1.024 GB, free: 11.24 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches