Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002143/0.002143, allocations: 104.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00249/0.00249, allocations: 188.8 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.142/3.142, allocations: 495.8 MB / 0.783 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 62.73 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3569, allocations: 173.6 MB / 1.307 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002867/0.3598, allocations: 1.419 MB / 1.308 GB, free: 488 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000503/0.3603, allocations: 211.4 kB / 1.308 GB, free: 276 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.3603, allocations: 0 / 1.308 GB, free: 276 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.3603, allocations: 0 / 1.308 GB, free: 276 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.06e-05/0.3604, allocations: 11.92 kB / 1.308 GB, free: 264 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.3606, allocations: 19.91 kB / 1.308 GB, free: 244 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.962e-05/0.3607, allocations: 27.92 kB / 1.308 GB, free: 216 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.3608, allocations: 0 / 1.308 GB, free: 216 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.3608, allocations: 15.92 kB / 1.308 GB, free: 200 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.353e-05/0.3609, allocations: 11.98 kB / 1.308 GB, free: 188 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.3609, allocations: 4 kB / 1.308 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.643e-05/0.361, allocations: 27.98 kB / 1.308 GB, free: 156 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.361, allocations: 0 / 1.308 GB, free: 156 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.361, allocations: 15.92 kB / 1.308 GB, free: 140 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.3611, allocations: 43.83 kB / 1.308 GB, free: 96 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3611, allocations: 0 / 1.308 GB, free: 96 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3612, allocations: 3.938 kB / 1.308 GB, free: 92 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3612, allocations: 0 / 1.308 GB, free: 92 kB / 0.9981 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.0004772/0.3616, allocations: 262.3 kB / 1.309 GB, free: 15.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3617, allocations: 8.922 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.3618, allocations: 12.83 kB / 1.309 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.3619, allocations: 106.5 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.3619, allocations: 384 / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.3619, allocations: 12.36 kB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3621, allocations: 50.23 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3621, allocations: 192 / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3621, allocations: 7.922 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.3621, allocations: 0 / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.3623, allocations: 31.97 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.3627, allocations: 223.9 kB / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.3628, allocations: 42.53 kB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.506e-05/0.3629, allocations: 24.91 kB / 1.309 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3629, allocations: 3.938 kB / 1.309 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.363, allocations: 30.56 kB / 1.309 GB, free: 15.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.061e-06/0.363, allocations: 4 kB / 1.309 GB, free: 15.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003702/0.3633, allocations: 89.53 kB / 1.309 GB, free: 15.07 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.3634, allocations: 51.41 kB / 1.309 GB, free: 15 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.041e-05/0.3635, allocations: 97.84 kB / 1.31 GB, free: 14.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.3635, allocations: 25.7 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.3635, allocations: 88.14 kB / 1.31 GB, free: 14.78 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.3636, allocations: 8.078 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.3636, allocations: 9.719 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3637, allocations: 322.8 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.913e-05/0.3638, allocations: 15.98 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.3639, allocations: 15.98 kB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.3641, allocations: 44.88 kB / 1.31 GB, free: 14.35 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3641, allocations: 0 / 1.31 GB, free: 14.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002113/0.3643, allocations: 69.55 kB / 1.31 GB, free: 14.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3643, allocations: 5.406 kB / 1.31 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3643, allocations: 0 / 1.31 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3643, allocations: 0 / 1.31 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.079e-05/0.3644, allocations: 11.98 kB / 1.31 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3644, allocations: 0 / 1.31 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.488e-05/0.3645, allocations: 12.02 kB / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.3645, allocations: 0 / 1.31 GB, free: 14.25 MB / 1.014 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 0.0001018/0.3646, allocations: 121.7 kB / 1.31 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.3646, allocations: 0 / 1.31 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.3649, allocations: 80.89 kB / 1.31 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3649, allocations: 7.938 kB / 1.31 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.3649, allocations: 0 / 1.31 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3649, allocations: 0 / 1.31 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.3651, allocations: 136.6 kB / 1.31 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3651, allocations: 0 / 1.31 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.942e-05/0.3651, allocations: 7.984 kB / 1.31 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3651, allocations: 4 kB / 1.31 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3651, allocations: 0 / 1.31 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3651, allocations: 0 / 1.31 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3651, allocations: 0 / 1.31 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.3654, allocations: 179.6 kB / 1.311 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.3654, allocations: 4 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.3655, allocations: 4 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.3655, allocations: 7.984 kB / 1.311 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.3656, allocations: 7.938 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.3656, allocations: 4 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.153e-05/0.3656, allocations: 79.28 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3656, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002226/0.3659, allocations: 8 kB / 1.311 GB, free: 13.54 MB / 1.014 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.0001266/0.366, allocations: 96.03 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.3662, allocations: 39.97 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3662, allocations: 0 / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.3663, allocations: 24.03 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.3666, allocations: 14.52 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.367, allocations: 120.1 kB / 1.311 GB, free: 13.21 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.3673, allocations: 0.6768 MB / 1.312 GB, free: 12.51 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.3674, allocations: 0 / 1.312 GB, free: 12.51 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.3674, allocations: 15.44 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of SimCode: time 4.5e-07/0.3674, allocations: 0 / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of Templates: time 0.003075/0.3705, allocations: 0.5119 MB / 1.312 GB, free: 11.98 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.73678748589009]