Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 92.16 kB / 16.02 MB, free: 80 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.00239/0.00239, allocations: 172.2 kB / 16.92 MB, free: 6.652 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.448/1.448, allocations: 223.3 MB / 241 MB, free: 5.336 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.379/2.379, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003367, allocations: 11.98 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6808/0.6812, allocations: 142.4 MB / 0.9557 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001415/0.6827, allocations: 1.015 MB / 0.9567 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009467/0.6836, allocations: 0.5695 MB / 0.9573 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.493e-05/0.6837, allocations: 0 / 0.9573 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.6837, allocations: 1.094 kB / 0.9573 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.6838, allocations: 5.062 kB / 0.9573 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.6841, allocations: 86.91 kB / 0.9573 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.527e-05/0.6842, allocations: 17.31 kB / 0.9574 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.6842, allocations: 5.172 kB / 0.9574 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.388e-05/0.6842, allocations: 11.41 kB / 0.9574 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.6843, allocations: 7.875 kB / 0.9574 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.6843, allocations: 1.438 kB / 0.9574 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.6846, allocations: 148.1 kB / 0.9575 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.436e-06/0.6846, allocations: 0 / 0.9575 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.6846, allocations: 33.95 kB / 0.9576 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.6848, allocations: 68.3 kB / 0.9576 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6848, allocations: 5.156 kB / 0.9576 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6848, allocations: 3.938 kB / 0.9576 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.6848, allocations: 0 / 0.9576 GB, free: 6.324 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002777/0.6851, allocations: 343.8 kB / 0.958 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.6851, allocations: 9.281 kB / 0.958 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004139/0.6855, allocations: 29.16 kB / 0.958 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.743e-05/0.6856, allocations: 173.5 kB / 0.9582 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.6856, allocations: 1.562 kB / 0.9582 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.6857, allocations: 384 / 0.9582 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.6858, allocations: 46.98 kB / 0.9582 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.6858, allocations: 192 / 0.9582 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.6858, allocations: 3.938 kB / 0.9582 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6858, allocations: 5.141 kB / 0.9582 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.686, allocations: 19.61 kB / 0.9582 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.6861, allocations: 169.6 kB / 0.9584 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.6862, allocations: 44.64 kB / 0.9584 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.551e-05/0.6863, allocations: 20.28 kB / 0.9585 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.6863, allocations: 4 kB / 0.9585 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.6863, allocations: 32.69 kB / 0.9585 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.6863, allocations: 0 / 0.9585 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002889/0.6866, allocations: 76.66 kB / 0.9586 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.6867, allocations: 51.41 kB / 0.9586 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.324e-05/0.6867, allocations: 97.55 kB / 0.9587 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.6867, allocations: 25.7 kB / 0.9587 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.885e-05/0.6868, allocations: 89.81 kB / 0.9588 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.6868, allocations: 3.906 kB / 0.9588 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.6868, allocations: 11.19 kB / 0.9588 GB, free: 5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.716e-05/0.6869, allocations: 310.8 kB / 0.9591 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.6869, allocations: 14.36 kB / 0.9591 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.388e-05/0.687, allocations: 14.8 kB / 0.9592 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.6871, allocations: 30.47 kB / 0.9592 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.6871, allocations: 0 / 0.9592 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001555/0.6873, allocations: 59.58 kB / 0.9592 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.6873, allocations: 6.156 kB / 0.9592 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6873, allocations: 7.938 kB / 0.9593 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.6874, allocations: 1.25 kB / 0.9593 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.6875, allocations: 8.391 kB / 0.9593 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.6875, allocations: 1.406 kB / 0.9593 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.061e-05/0.6875, allocations: 5.094 kB / 0.9593 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.6875, allocations: 5.516 kB / 0.9593 GB, free: 4.586 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 7.447e-05/0.6876, allocations: 110.6 kB / 0.9594 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.6876, allocations: 9.156 kB / 0.9594 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.449e-05/0.6877, allocations: 12.22 kB / 0.9594 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6877, allocations: 1.188 kB / 0.9594 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.6877, allocations: 0 / 0.9594 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.6877, allocations: 0 / 0.9594 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.063e-05/0.6878, allocations: 153.9 kB / 0.9595 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.6878, allocations: 1.406 kB / 0.9596 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.156e-05/0.6879, allocations: 12.17 kB / 0.9596 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.6879, allocations: 1.438 kB / 0.9596 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.6879, allocations: 11.92 kB / 0.9596 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6879, allocations: 0 / 0.9596 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6879, allocations: 1.094 kB / 0.9596 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.6881, allocations: 83.89 kB / 0.9597 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.6881, allocations: 82.5 kB / 0.9597 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.6882, allocations: 9.656 kB / 0.9597 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.762e-05/0.6882, allocations: 1.438 kB / 0.9597 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.6883, allocations: 4 kB / 0.9597 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.6883, allocations: 1.688 kB / 0.9598 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.921e-05/0.6883, allocations: 80.95 kB / 0.9598 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6883, allocations: 1.188 kB / 0.9598 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002006/0.6885, allocations: 10.62 kB / 0.9598 GB, free: 3.965 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.0001345/0.6886, allocations: 120.9 kB / 0.96 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.6888, allocations: 26.38 kB / 0.96 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.6888, allocations: 0 / 0.96 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/0.6889, allocations: 20.89 kB / 0.96 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.6891, allocations: 4.469 kB / 0.96 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.6894, allocations: 158.7 kB / 0.9602 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.367e-05/0.6895, allocations: 0.6757 MB / 0.9608 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.6896, allocations: 9.938 kB / 0.9608 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6896, allocations: 0 / 0.9608 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of Templates: time 0.001959/0.6915, allocations: 0.7869 MB / 0.9616 GB, free: 2.566 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches