Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001979/0.001979, 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.002114/0.002114, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.54/1.54, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.894/2.894, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.829e-06/4.829e-06, allocations: 4 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/3.067e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002934/0.002965, allocations: 1.444 MB / 0.7878 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005312/0.003496, allocations: 213.5 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.003522, allocations: 0 / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.003549, allocations: 5.406 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.003603, allocations: 11.91 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.003819, allocations: 27.8 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.139e-05/0.00389, allocations: 24.83 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.999e-05/0.00396, allocations: 7.984 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.004016, allocations: 11.98 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.826e-05/0.004054, allocations: 16.98 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.00407, allocations: 4 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.191e-05/0.004162, allocations: 24.77 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.004173, allocations: 0 / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.0042, allocations: 15.97 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.004336, allocations: 41.34 kB / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.00434, allocations: 0 / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.00434, allocations: 0 / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.004344, allocations: 0 / 0.7882 GB, free: 11 MB / 0.7448 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.0004694/0.004814, allocations: 371.4 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.004847, allocations: 8.031 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.005008, allocations: 8.875 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.005129, allocations: 124.5 kB / 0.7886 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.00514, allocations: 384 / 0.7886 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.005152, allocations: 4.375 kB / 0.7886 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.005287, allocations: 42.25 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.005295, allocations: 1.281 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.005302, allocations: 384 / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.005305, allocations: 384 / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.005419, allocations: 24.52 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.005802, allocations: 261 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.005923, allocations: 39 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.226e-05/0.005995, allocations: 21.39 kB / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.006017, allocations: 4 kB / 0.789 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.006052, allocations: 33.39 kB / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.006053, allocations: 0 / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002794/0.006332, allocations: 75.08 kB / 0.7891 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.006375, allocations: 51.41 kB / 0.7892 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.006507, allocations: 172.1 kB / 0.7893 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.006527, allocations: 25.7 kB / 0.7894 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.006627, allocations: 126.9 kB / 0.7895 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.006647, allocations: 11.89 kB / 0.7895 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.006694, allocations: 19.38 kB / 0.7895 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004616/0.007156, allocations: 492.1 kB / 0.79 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-05/0.007216, allocations: 16.52 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.924e-05/0.007266, allocations: 12.7 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.007366, allocations: 33.7 kB / 0.79 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.007367, allocations: 0 / 0.79 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001642/0.007531, allocations: 57.62 kB / 0.7901 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.007546, allocations: 4.625 kB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.007553, allocations: 3.938 kB / 0.7901 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.007564, allocations: 0.8438 kB / 0.7901 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/0.007638, allocations: 11.98 kB / 0.7901 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.007641, allocations: 0.5312 kB / 0.7901 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.779e-05/0.007679, allocations: 4.625 kB / 0.7901 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.007687, allocations: 4 kB / 0.7901 GB, free: 8.785 MB / 0.7448 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.0001076/0.007795, allocations: 153.2 kB / 0.7903 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.007827, allocations: 13.33 kB / 0.7903 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.008025, allocations: 68.91 kB / 0.7903 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.008027, allocations: 1.125 kB / 0.7904 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.00803, allocations: 0 / 0.7904 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.008032, allocations: 4 kB / 0.7904 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.008185, allocations: 117.4 kB / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008186, allocations: 0 / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.008245, allocations: 12.55 kB / 0.7905 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.008247, allocations: 0.8438 kB / 0.7905 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.008253, allocations: 0 / 0.7905 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.008257, allocations: 5.938 kB / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.008258, allocations: 0 / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.008513, allocations: 207.9 kB / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.00852, allocations: 0 / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.008532, allocations: 0 / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.0086, allocations: 8.562 kB / 0.7907 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.00864, allocations: 7.984 kB / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.008646, allocations: 6.469 kB / 0.7907 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.055e-05/0.008716, allocations: 123.2 kB / 0.7908 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008716, allocations: 0 / 0.7908 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002076/0.008924, allocations: 11.89 kB / 0.7908 GB, free: 7.996 MB / 0.7448 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.0001169/0.009041, allocations: 99.23 kB / 0.7909 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.009204, allocations: 37.48 kB / 0.791 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009205, allocations: 0 / 0.791 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.067e-05/0.009276, allocations: 23.67 kB / 0.791 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.009516, allocations: 14.36 kB / 0.791 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.00983, allocations: 122.8 kB / 0.7911 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.661e-05/0.009897, allocations: 61 kB / 0.7912 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.737e-05/0.009924, allocations: 0.6562 kB / 0.7912 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.009956, allocations: 13.59 kB / 0.7912 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.009957, allocations: 0 / 0.7912 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of Templates: time 0.003431/0.01339, allocations: 0.646 MB / 0.7918 GB, free: 6.957 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.934477731003426]