Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_10_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_10_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.001357/0.001357, allocations: 102.5 kB / 16.27 MB, free: 5.859 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.001303/0.001303, allocations: 187.1 kB / 17.19 MB, free: 5.512 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.467/1.467, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 437.1 MB / 0.7111 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 68.98 kB / 0.8699 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3077, allocations: 151.6 MB / 1.018 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002499/0.3103, allocations: 1.276 MB / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.3112, allocations: 0.5709 MB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.675e-05/0.3113, allocations: 0 / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.103e-05/0.3113, allocations: 7.922 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.933e-05/0.3114, allocations: 3.938 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.3117, allocations: 91.56 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.33e-05/0.3118, allocations: 31.8 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.3119, allocations: 0 / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.954e-05/0.3119, allocations: 4 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.989e-05/0.3119, allocations: 8 kB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.312, allocations: 0 / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/0.3123, allocations: 147.8 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.3123, allocations: 3.938 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.3123, allocations: 4 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.3125, allocations: 96.05 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3125, allocations: 3.938 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3125, allocations: 0 / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.3125, allocations: 0 / 1.02 GB, free: 8.324 MB / 0.795 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.0004165/0.313, allocations: 343.4 kB / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.313, allocations: 16.03 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004278/0.3134, allocations: 24.91 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3136, allocations: 168.4 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3136, allocations: 384 / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.3136, allocations: 384 / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.3138, allocations: 46.23 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.3138, allocations: 4.188 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3138, allocations: 3.938 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3138, allocations: 4 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.314, allocations: 23.97 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.3141, allocations: 161.5 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.3143, allocations: 42.55 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/0.3144, allocations: 20.91 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.3144, allocations: 3.938 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.3145, allocations: 30.56 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3145, allocations: 0 / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003165/0.3148, allocations: 81.53 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3148, allocations: 51.41 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/0.3149, allocations: 101.9 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.3149, allocations: 25.7 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.315, allocations: 80.14 kB / 1.021 GB, free: 6.914 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.315, allocations: 11.89 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.3151, allocations: 21.78 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3152, allocations: 314.8 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.3153, allocations: 11.98 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.004e-05/0.3154, allocations: 11.98 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.3155, allocations: 32.91 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3155, allocations: 0 / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001866/0.3157, allocations: 65.59 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3157, allocations: 4 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3157, allocations: 3.938 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3157, allocations: 0 / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3158, allocations: 7.984 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3159, allocations: 4 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.87e-05/0.3159, allocations: 4.031 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.316, allocations: 0 / 1.022 GB, free: 6.406 MB / 0.795 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.493e-05/0.316, allocations: 113.8 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.3161, allocations: 0 / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.3161, allocations: 15.05 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3161, allocations: 0 / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3161, allocations: 4 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3161, allocations: 4 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.3163, allocations: 157.7 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3163, allocations: 0 / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.922e-05/0.3164, allocations: 7.984 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3164, allocations: 0 / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.3164, allocations: 7.938 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3164, allocations: 0 / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3164, allocations: 7.938 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.3166, allocations: 85.05 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.222e-05/0.3167, allocations: 89 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.3167, allocations: 3.938 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.383e-05/0.3168, allocations: 3.984 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.3168, allocations: 4.188 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3168, allocations: 0 / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.552e-05/0.3169, allocations: 87.3 kB / 1.022 GB, free: 5.73 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3169, allocations: 0 / 1.022 GB, free: 5.73 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002044/0.3171, allocations: 16 kB / 1.022 GB, free: 5.715 MB / 0.795 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.0001806/0.3173, allocations: 107.2 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001853/0.3175, allocations: 31.91 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3175, allocations: 0 / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.743e-05/0.3175, allocations: 27.98 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.3178, allocations: 15.09 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.3181, allocations: 136.4 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.3184, allocations: 0.6768 MB / 1.023 GB, free: 4.664 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.3185, allocations: 15.48 kB / 1.023 GB, free: 4.648 MB / 0.795 GB Notification: Performance of SimCode: time 2.91e-07/0.3185, allocations: 4 kB / 1.023 GB, free: 4.645 MB / 0.795 GB Notification: Performance of Templates: time 0.002374/0.3209, allocations: 0.78 MB / 1.024 GB, free: 3.867 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches