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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.005591/0.005591, allocations: 103.2 kB / 15.73 MB, free: 6.047 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.001196/0.001196, allocations: 188.1 kB / 16.67 MB, free: 5.969 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.89 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.005, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002548/1.008, allocations: 1.409 MB / 1.089 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009158/1.009, allocations: 0.5909 MB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/1.009, allocations: 4.812 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/1.009, allocations: 0 / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/1.009, allocations: 9.344 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/1.01, allocations: 99.83 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.817e-05/1.01, allocations: 25.3 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/1.01, allocations: 4.984 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.317e-05/1.01, allocations: 9.547 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.715e-05/1.01, allocations: 14.27 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/1.01, allocations: 6.312 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003/1.01, allocations: 142.3 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/1.01, allocations: 6.438 kB / 1.09 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/1.01, allocations: 11.3 kB / 1.09 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/1.01, allocations: 104.7 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.01, allocations: 0.5156 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/1.01, allocations: 0 / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.48e-06/1.01, allocations: 0 / 1.09 GB, free: 3.992 MB / 0.8575 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.0004314/1.011, allocations: 358.2 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/1.011, allocations: 9.625 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004407/1.011, allocations: 31.12 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.102e-05/1.011, allocations: 167 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/1.011, allocations: 1.281 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/1.012, allocations: 1.531 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/1.012, allocations: 71.44 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/1.012, allocations: 4.125 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/1.012, allocations: 3.938 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.012, allocations: 0.9375 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/1.012, allocations: 51.91 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/1.012, allocations: 275.3 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/1.013, allocations: 62.5 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/1.013, allocations: 36.41 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/1.013, allocations: 4 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/1.013, allocations: 32.52 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/1.013, allocations: 0 / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000539/1.013, allocations: 120.3 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/1.014, allocations: 52.25 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.279e-05/1.014, allocations: 100.9 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/1.014, allocations: 25.7 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/1.014, allocations: 82.05 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/1.014, allocations: 9.375 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/1.014, allocations: 23.66 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.667e-05/1.014, allocations: 312.9 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/1.014, allocations: 33.16 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/1.014, allocations: 25.72 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/1.014, allocations: 58.7 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/1.014, allocations: 0 / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000328/1.015, allocations: 92.78 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.015, allocations: 7.25 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/1.015, allocations: 0 / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/1.015, allocations: 1.453 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/1.015, allocations: 25.02 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/1.015, allocations: 0.7812 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.307e-05/1.015, allocations: 8.562 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/1.015, allocations: 2.5 kB / 1.092 GB, free: 2.207 MB / 0.8575 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 5.861e-05/1.015, allocations: 111.6 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/1.015, allocations: 1.672 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/1.015, allocations: 13.42 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/1.015, allocations: 0 / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.015, allocations: 4.531 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/1.015, allocations: 1.688 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/1.015, allocations: 163.6 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.015, allocations: 0.7031 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/1.015, allocations: 13.08 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.015, allocations: 1.312 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/1.015, allocations: 5.938 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.015, allocations: 0.7812 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.015, allocations: 0 / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/1.016, allocations: 187.8 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/1.016, allocations: 90.58 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/1.016, allocations: 0.9375 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/1.016, allocations: 7.938 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/1.016, allocations: 3.5 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/1.016, allocations: 1.328 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.443e-05/1.016, allocations: 83.91 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/1.016, allocations: 0.875 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00026/1.016, allocations: 14.97 kB / 1.093 GB, free: 1.539 MB / 0.8575 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.0001667/1.017, allocations: 111.5 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000336/1.017, allocations: 55.12 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.017, allocations: 0 / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/1.017, allocations: 41.75 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/1.017, allocations: 6.641 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/1.018, allocations: 131.5 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/1.018, allocations: 0.6767 MB / 1.094 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.559e-05/1.018, allocations: 15 kB / 1.094 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/1.018, allocations: 11.47 kB / 1.094 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/1.018, allocations: 0 / 1.094 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of Templates: time 0.003946/1.022, allocations: 0.7914 MB / 1.095 GB, free: 0.4961 MB / 0.8575 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