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.001363/0.001363, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00155/0.00155, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.537/1.537, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 2.863/2.863, allocations: 377.8 MB / 0.6232 GB, free: 8.516 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.934e-06/1.934e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.222e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003983/0.004015, allocations: 1.437 MB / 0.8122 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007189/0.004734, allocations: 204.4 kB / 0.8124 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.004768, allocations: 0.5 kB / 0.8124 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.004805, allocations: 5.281 kB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.251e-05/0.004867, allocations: 3.938 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.005138, allocations: 35.77 kB / 0.8124 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.55e-05/0.005234, allocations: 28.95 kB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.536e-05/0.005309, allocations: 0 / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.03e-05/0.005389, allocations: 15.97 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.362e-05/0.005433, allocations: 8.719 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.005452, allocations: 4 kB / 0.8125 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.005585, allocations: 33.66 kB / 0.8125 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.0056, allocations: 0 / 0.8125 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.005635, allocations: 8 kB / 0.8125 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.005807, allocations: 43.88 kB / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.00581, allocations: 5.469 kB / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.31e-07/0.00581, allocations: 0 / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.005814, 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.0007138/0.006528, allocations: 267.5 kB / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.006578, allocations: 12.03 kB / 0.8128 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.006824, allocations: 8.875 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.006979, allocations: 111.4 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.006993, allocations: 384 / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.007004, allocations: 384 / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.00726, allocations: 54.17 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.00727, allocations: 0.9062 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.00728, allocations: 384 / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.007285, allocations: 0.9062 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.007551, allocations: 37.56 kB / 0.813 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.008004, allocations: 196.6 kB / 0.8132 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.008209, allocations: 39.12 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.008353, allocations: 25.8 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.008371, allocations: 1.156 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.008417, allocations: 34.56 kB / 0.8133 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.008418, allocations: 0 / 0.8133 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000555/0.008973, allocations: 82.95 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.00903, allocations: 53.16 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.009167, allocations: 101.9 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.009196, allocations: 25.7 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/0.009274, allocations: 92.06 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.0093, allocations: 9.984 kB / 0.8137 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.009352, allocations: 13.72 kB / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.009573, allocations: 310.8 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.009709, allocations: 19.98 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.009833, allocations: 16.5 kB / 0.814 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.0101, allocations: 43.39 kB / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.0101, allocations: 0 / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000327/0.01042, allocations: 67.38 kB / 0.8141 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.01044, allocations: 7.938 kB / 0.8141 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01045, allocations: 3.938 kB / 0.8141 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.01047, allocations: 0 / 0.8141 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.0106, allocations: 15.92 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.0106, allocations: 0.5 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.074e-05/0.01068, allocations: 4.562 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.01069, allocations: 1.688 kB / 0.8142 GB, free: 14.5 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.0001241/0.01081, allocations: 113.8 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.01086, allocations: 7.953 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003833/0.01125, allocations: 79.69 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01125, allocations: 48 / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.01126, allocations: 3.984 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01126, allocations: 0 / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.0115, allocations: 109.2 kB / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01151, allocations: 1.094 kB / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.01162, allocations: 19.98 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.01162, allocations: 0 / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.01163, allocations: 0.8438 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.01164, allocations: 7.875 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01164, allocations: 0.5 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.01228, allocations: 164.4 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.01229, allocations: 7.672 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.01231, allocations: 0 / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.01245, allocations: 7.938 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.01251, allocations: 7.984 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.01251, allocations: 0 / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.01259, allocations: 83.28 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01259, allocations: 0 / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000435/0.01302, allocations: 7.953 kB / 0.8148 GB, free: 13.84 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.0001475/0.01317, allocations: 97.06 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003216/0.01349, allocations: 43.89 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01349, allocations: 0 / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.01363, allocations: 21.02 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.01411, allocations: 11.52 kB / 0.8149 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.01452, allocations: 108.8 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.01462, allocations: 68.17 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.027e-05/0.01466, allocations: 1.125 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.0147, allocations: 17.22 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.0147, allocations: 0 / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.004442/0.01915, allocations: 0.641 MB / 0.8157 GB, free: 12.81 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=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: 7.77639111597091]