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.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.001904/0.001904, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002149/0.002149, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.531/1.531, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.051/3.051, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_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 1.873e-06/1.873e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.293e-05/4.48e-05, allocations: 11.25 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003999/0.004044, allocations: 1.438 MB / 0.8122 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007128/0.004757, allocations: 216.9 kB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.00479, allocations: 0 / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.004822, allocations: 5.625 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.004887, allocations: 3.938 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.005155, allocations: 31.83 kB / 0.8124 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.005482, allocations: 23.88 kB / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.875e-05/0.005571, allocations: 8.891 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.005646, allocations: 11.98 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.394e-05/0.0057, allocations: 8.688 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.005719, allocations: 4 kB / 0.8125 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.005849, allocations: 32.86 kB / 0.8125 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.005867, allocations: 3.938 kB / 0.8125 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.005896, allocations: 8.656 kB / 0.8125 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.006074, allocations: 43.88 kB / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.006077, allocations: 0.9688 kB / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.562e-06/0.006079, allocations: 0 / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.006083, allocations: 0 / 0.8126 GB, free: 288 kB / 0.7605 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.0006522/0.006736, allocations: 365 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.006779, allocations: 8.781 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002353/0.007015, allocations: 12.86 kB / 0.8129 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.007179, allocations: 117.8 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.007193, allocations: 384 / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.007209, allocations: 12.31 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.007394, allocations: 40.31 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.007404, allocations: 192 / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.007415, allocations: 384 / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.007419, allocations: 384 / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.007595, allocations: 27.91 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.00808, allocations: 252.7 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.008245, allocations: 44.69 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.008335, allocations: 19.69 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.008357, allocations: 3.984 kB / 0.8134 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.008407, allocations: 41.38 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.008408, allocations: 1.531 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0004098/0.008818, allocations: 69.61 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.008874, allocations: 57.03 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.009044, allocations: 161.9 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.009071, allocations: 25.7 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.993e-05/0.009171, allocations: 126.9 kB / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.009199, allocations: 11.88 kB / 0.8139 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.009261, allocations: 24.38 kB / 0.8139 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003447/0.009606, allocations: 492.1 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.009693, allocations: 17.58 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/0.009761, allocations: 8 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.009909, allocations: 28.2 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.009911, allocations: 0.6875 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002079/0.01012, allocations: 62.14 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.01014, allocations: 7.375 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.01015, allocations: 3.938 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.01016, allocations: 0.9688 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.01025, allocations: 8 kB / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.01025, allocations: 0 / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.607e-05/0.01031, allocations: 0.5312 kB / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.01032, allocations: 5.359 kB / 0.8145 GB, free: 14.08 MB / 0.7761 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.0001378/0.01046, allocations: 160.6 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.01049, allocations: 3.953 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.01074, allocations: 70.17 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01074, allocations: 0.5938 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.01075, allocations: 7.938 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.01076, allocations: 4.781 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.011, allocations: 116.6 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.011, allocations: 0.8438 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.596e-05/0.01108, allocations: 11.94 kB / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01108, allocations: 0.9062 kB / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.01109, allocations: 0 / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.01109, allocations: 3.938 kB / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.0111, allocations: 5.328 kB / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.01146, allocations: 203.9 kB / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.01147, allocations: 7.938 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.01149, allocations: 0.6562 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.01161, allocations: 8.469 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.01165, allocations: 0 / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-06/0.01166, allocations: 5.906 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001026/0.01176, allocations: 127.2 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.01176, allocations: 4 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004131/0.01218, allocations: 4 kB / 0.8153 GB, free: 13.29 MB / 0.7761 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.0001569/0.01233, allocations: 100.1 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.01257, allocations: 35.11 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01257, allocations: 0 / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.01268, allocations: 28.09 kB / 0.8154 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.0131, allocations: 11.92 kB / 0.8154 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.0135, allocations: 122.4 kB / 0.8155 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.148e-05/0.0136, allocations: 63.22 kB / 0.8156 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.547e-05/0.01364, allocations: 10.03 kB / 0.8156 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.01369, allocations: 12.5 kB / 0.8156 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.01369, allocations: 1.094 kB / 0.8156 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of Templates: time 0.004559/0.01825, allocations: 0.6381 MB / 0.8163 GB, free: 12.24 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 240] 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: 7.880939546972513]