Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 212.3 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.214/3.214, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 68.02 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3517, allocations: 180.2 MB / 1.354 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00265/0.3544, allocations: 1.459 MB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004809/0.3548, allocations: 207.5 kB / 1.356 GB, free: 6.312 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.303e-05/0.3549, allocations: 0 / 1.356 GB, free: 6.312 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.3549, allocations: 3.938 kB / 1.356 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.544e-05/0.355, allocations: 3.938 kB / 1.356 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.3552, allocations: 35.89 kB / 1.356 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.4e-05/0.3552, allocations: 31.86 kB / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.668e-05/0.3553, allocations: 0 / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.3554, allocations: 8 kB / 1.356 GB, free: 6.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.3554, allocations: 11.92 kB / 1.356 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.3554, allocations: 4 kB / 1.356 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.653e-05/0.3555, allocations: 31.97 kB / 1.356 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.3555, allocations: 3.984 kB / 1.356 GB, free: 6.18 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.3556, allocations: 15.94 kB / 1.356 GB, free: 6.164 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.3557, allocations: 39.89 kB / 1.356 GB, free: 6.125 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3557, allocations: 0 / 1.356 GB, free: 6.125 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3557, allocations: 4 kB / 1.356 GB, free: 6.121 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3557, allocations: 3.938 kB / 1.356 GB, free: 6.117 MB / 1.045 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.000454/0.3562, allocations: 266.3 kB / 1.356 GB, free: 5.824 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3562, allocations: 8.031 kB / 1.356 GB, free: 5.816 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.3563, allocations: 12.88 kB / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.3565, allocations: 114.4 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.3565, allocations: 384 / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.3565, allocations: 384 / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3566, allocations: 54.23 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3566, allocations: 192 / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3567, allocations: 3.938 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3567, allocations: 4 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.3568, allocations: 31.95 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.3572, allocations: 220 kB / 1.357 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.3573, allocations: 46.47 kB / 1.357 GB, free: 5.258 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.059e-05/0.3574, allocations: 24.91 kB / 1.357 GB, free: 5.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.3574, allocations: 0 / 1.357 GB, free: 5.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.3574, allocations: 38.5 kB / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.3574, allocations: 0 / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003345/0.3577, allocations: 89.58 kB / 1.357 GB, free: 5.09 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.3578, allocations: 51.41 kB / 1.357 GB, free: 5.027 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.3578, allocations: 101.8 kB / 1.357 GB, free: 4.918 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3579, allocations: 29.7 kB / 1.357 GB, free: 4.883 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.3579, allocations: 84.09 kB / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.3579, allocations: 3.953 kB / 1.357 GB, free: 4.793 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.358, allocations: 21.84 kB / 1.357 GB, free: 4.766 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3581, allocations: 310.8 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.83e-05/0.3582, allocations: 15.97 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.217e-05/0.3582, allocations: 19.98 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.3584, allocations: 32.89 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3584, allocations: 4 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000191/0.3586, allocations: 73.53 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3586, allocations: 5.406 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3586, allocations: 0 / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3586, allocations: 7.938 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.889e-05/0.3587, allocations: 7.984 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.3587, allocations: 0 / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/0.3587, allocations: 12.02 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.3587, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 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.393e-05/0.3588, allocations: 121.7 kB / 1.358 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.3589, allocations: 0 / 1.358 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.3591, allocations: 80.89 kB / 1.358 GB, free: 4.059 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3591, allocations: 0 / 1.358 GB, free: 4.059 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3591, allocations: 8 kB / 1.358 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3591, allocations: 0 / 1.358 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.3593, allocations: 132.7 kB / 1.358 GB, free: 3.879 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3593, allocations: 0 / 1.358 GB, free: 3.879 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.947e-05/0.3593, allocations: 11.98 kB / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3593, allocations: 0 / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.3593, allocations: 0 / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3593, allocations: 0 / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3593, allocations: 0 / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.3596, allocations: 175.4 kB / 1.358 GB, free: 3.68 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.3596, allocations: 7.922 kB / 1.358 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.3596, allocations: 4 kB / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/0.3597, allocations: 4 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.3597, allocations: 7.984 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3597, allocations: 3.938 kB / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.637e-05/0.3598, allocations: 79.56 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3598, allocations: 7.938 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002149/0.36, allocations: 8 kB / 1.358 GB, free: 3.559 MB / 1.045 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 9.798e-05/0.3601, allocations: 91.25 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.3603, allocations: 39.95 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3603, allocations: 0 / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.834e-05/0.3604, allocations: 24.11 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.3607, allocations: 13.59 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.361, allocations: 140.6 kB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3613, allocations: 0.6768 MB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.3613, allocations: 7.438 kB / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.3613, allocations: 0 / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of Templates: time 0.001941/0.3633, allocations: 0.5999 MB / 1.36 GB, free: 1.906 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.922204765985953]