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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008746/0.0008747, allocations: 99.19 kB / 16.02 MB, free: 76 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.001368/0.001368, allocations: 186 kB / 16.92 MB, free: 6.703 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.389/2.389, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004663, allocations: 11.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7773/0.7778, allocations: 142.4 MB / 0.9557 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002061/0.7799, allocations: 1.132 MB / 0.9568 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.7812, allocations: 0.591 MB / 0.9574 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.7813, allocations: 4 kB / 0.9574 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.7813, allocations: 5.234 kB / 0.9574 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.719e-05/0.7814, allocations: 3.938 kB / 0.9574 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.7818, allocations: 84.91 kB / 0.9575 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.441e-05/0.7818, allocations: 21.12 kB / 0.9575 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.811e-05/0.782, allocations: 7.469 kB / 0.9575 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.035e-05/0.782, allocations: 11.48 kB / 0.9575 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.332e-05/0.7821, allocations: 11.64 kB / 0.9575 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.7821, allocations: 5.125 kB / 0.9575 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.7825, allocations: 145.6 kB / 0.9577 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.7825, allocations: 7.938 kB / 0.9577 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.7825, allocations: 28.39 kB / 0.9577 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.7827, allocations: 77.72 kB / 0.9578 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.7827, allocations: 3.938 kB / 0.9578 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7827, allocations: 0 / 0.9578 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.115e-06/0.7827, allocations: 0 / 0.9578 GB, free: 6.059 MB / 0.7169 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.0004135/0.7831, allocations: 363.6 kB / 0.9581 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.7832, allocations: 9.188 kB / 0.9581 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005904/0.7838, allocations: 28.7 kB / 0.9582 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.167e-05/0.7839, allocations: 161.6 kB / 0.9583 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.7839, allocations: 6.219 kB / 0.9583 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.7839, allocations: 384 / 0.9583 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.7842, allocations: 72.98 kB / 0.9584 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.7842, allocations: 192 / 0.9584 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.7842, allocations: 3.938 kB / 0.9584 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-06/0.7842, allocations: 3.938 kB / 0.9584 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.7846, allocations: 65.94 kB / 0.9585 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.7851, allocations: 279.7 kB / 0.9587 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.7854, allocations: 68.38 kB / 0.9588 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.7856, allocations: 40.2 kB / 0.9588 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.7856, allocations: 1.5 kB / 0.9588 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.7856, allocations: 30.56 kB / 0.9589 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.7857, allocations: 1.656 kB / 0.9589 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0007121/0.7864, allocations: 132.8 kB / 0.959 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.68e-05/0.7864, allocations: 51.41 kB / 0.959 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.139e-05/0.7865, allocations: 99.25 kB / 0.9591 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.7865, allocations: 25.7 kB / 0.9592 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.288e-05/0.7865, allocations: 93.98 kB / 0.9593 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.7866, allocations: 9.703 kB / 0.9593 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.7866, allocations: 9.719 kB / 0.9593 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.458e-05/0.7867, allocations: 318.8 kB / 0.9596 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.7869, allocations: 31.66 kB / 0.9596 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.787, allocations: 30.27 kB / 0.9596 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/0.7875, allocations: 69.7 kB / 0.9597 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.7875, allocations: 1.375 kB / 0.9597 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000517/0.788, allocations: 102.8 kB / 0.9598 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.7881, allocations: 9.484 kB / 0.9598 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.7881, allocations: 0 / 0.9598 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.7881, allocations: 1.375 kB / 0.9598 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.7883, allocations: 13.61 kB / 0.9598 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.7883, allocations: 1.375 kB / 0.9598 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.7885, allocations: 14.89 kB / 0.9598 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.7885, allocations: 1.375 kB / 0.9598 GB, free: 4.102 MB / 0.7169 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 6.889e-05/0.7886, allocations: 115.2 kB / 0.96 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.7887, allocations: 5.281 kB / 0.96 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.7887, allocations: 12.67 kB / 0.96 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.7888, allocations: 0 / 0.96 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.7888, allocations: 5.297 kB / 0.96 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.7888, allocations: 0 / 0.96 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.789, allocations: 172.3 kB / 0.9601 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.789, allocations: 0 / 0.9601 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.7892, allocations: 14.39 kB / 0.9602 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.7892, allocations: 0 / 0.9602 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.7893, allocations: 9.109 kB / 0.9602 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.7893, allocations: 3.938 kB / 0.9602 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.7893, allocations: 1.344 kB / 0.9602 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.7898, allocations: 194 kB / 0.9604 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.7899, allocations: 82.05 kB / 0.9604 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.7899, allocations: 8.922 kB / 0.9604 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.7901, allocations: 8.312 kB / 0.9604 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.7902, allocations: 3.984 kB / 0.9605 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.7902, allocations: 1.5 kB / 0.9605 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.033e-05/0.7903, allocations: 86.88 kB / 0.9605 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7903, allocations: 0 / 0.9605 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004586/0.7907, allocations: 10.91 kB / 0.9605 GB, free: 3.379 MB / 0.7169 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.0001754/0.7909, allocations: 114.9 kB / 0.9607 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005107/0.7914, allocations: 68.16 kB / 0.9607 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7915, allocations: 4.062 kB / 0.9607 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.7917, allocations: 36.98 kB / 0.9608 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.7921, allocations: 5.938 kB / 0.9608 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.7927, allocations: 176.4 kB / 0.9609 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.7929, allocations: 0.6769 MB / 0.9616 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.793, allocations: 14.27 kB / 0.9616 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of SimCode: time 6.22e-07/0.793, allocations: 0 / 0.9616 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of Templates: time 0.003525/0.7965, allocations: 0.8947 MB / 0.9625 GB, free: 1.891 MB / 0.7169 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches