Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 106.2 kB / 16.27 MB, free: 5.977 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.001188/0.001188, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.401/1.401, 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.587/2.587, allocations: 437 MB / 0.711 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 60.62 kB / 0.8699 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3324, allocations: 151.6 MB / 1.018 GB, free: 10.73 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003058/0.3355, allocations: 1.406 MB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005043/0.336, allocations: 203.4 kB / 1.02 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.3361, allocations: 4 kB / 1.02 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.3362, allocations: 0 / 1.02 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.106e-05/0.3362, allocations: 3.938 kB / 1.02 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.3365, allocations: 31.89 kB / 1.02 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.062e-05/0.3366, allocations: 19.88 kB / 1.02 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3367, allocations: 11.98 kB / 1.02 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.3367, allocations: 4 kB / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.3368, allocations: 19.86 kB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.3368, allocations: 0 / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.3369, allocations: 31.97 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.3369, allocations: 4 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.337, allocations: 11.92 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.3371, allocations: 28.25 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3371, allocations: 4 kB / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3371, allocations: 0 / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.3371, allocations: 0 / 1.02 GB, free: 8.945 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005066/0.3376, allocations: 347.3 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3377, allocations: 12.03 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.3378, allocations: 12.84 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.338, allocations: 164.4 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.338, allocations: 384 / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.338, allocations: 384 / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.3382, allocations: 50.23 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3382, allocations: 192 / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3382, allocations: 7.922 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3382, allocations: 0 / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.3384, allocations: 43.89 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.3388, allocations: 252.9 kB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.339, allocations: 38.5 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.508e-05/0.3391, allocations: 26.44 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.3391, allocations: 4 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3391, allocations: 30.56 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.3391, allocations: 0 / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003753/0.3395, allocations: 85.58 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.3396, allocations: 51.41 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.3396, allocations: 106 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.3397, allocations: 29.7 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.3397, allocations: 80.14 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.3398, allocations: 7.844 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.3398, allocations: 17.72 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3399, allocations: 314.8 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.891e-05/0.34, allocations: 11.98 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-05/0.3401, allocations: 23.98 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3403, allocations: 40.75 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3403, allocations: 0 / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000213/0.3405, allocations: 69.52 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3405, allocations: 6.656 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3406, allocations: 8.078 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3406, allocations: 4 kB / 1.021 GB, free: 6.914 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.044e-05/0.3407, allocations: 4 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3407, allocations: 0 / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.821e-05/0.3407, allocations: 7.984 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.3408, allocations: 3.938 kB / 1.021 GB, free: 6.898 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 7.874e-05/0.3408, allocations: 117.8 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.3409, allocations: 0 / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.3412, allocations: 84.7 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3412, allocations: 0 / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3412, allocations: 0 / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3412, allocations: 0 / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.3414, allocations: 165.6 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3414, allocations: 0 / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.227e-05/0.3414, allocations: 8 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3415, allocations: 0 / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.3415, allocations: 4 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3415, allocations: 3.984 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3415, allocations: 4 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.3417, allocations: 171.4 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.3418, allocations: 81.02 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.3418, allocations: 0 / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.3419, allocations: 15.98 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.342, allocations: 0 / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.342, allocations: 4 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.958e-05/0.342, allocations: 75.56 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.342, allocations: 0 / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002299/0.3423, allocations: 8 kB / 1.022 GB, free: 6.07 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 (3): * Single equations (assignments): 3 * 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.0001212/0.3424, allocations: 103.4 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.3426, allocations: 43.95 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3426, allocations: 0 / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.3427, allocations: 27.91 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.343, allocations: 7.875 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.3434, allocations: 136.4 kB / 1.022 GB, free: 5.719 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.3437, allocations: 0.6807 MB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.3437, allocations: 7.438 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3438, allocations: 4 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of Templates: time 0.002083/0.3458, allocations: 0.5809 MB / 1.024 GB, free: 4.426 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches