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.0007604/0.0007604, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.001779, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006889/0.0006889, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009204/0.001609, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9608/0.9608, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08839/1.049, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.803/1.803, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5572/2.36, allocations: 123.3 MB / 0.728 GB, free: 5.836 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.904e-06/1.904e-06, allocations: 0 / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.249e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002364/0.002387, allocations: 1.516 MB / 0.7308 GB, free: 3.051 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003494/0.002736, allocations: 217.5 kB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.998e-05/0.002756, allocations: 1.406 kB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.002775, allocations: 3.938 kB / 0.731 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.433e-05/0.002799, allocations: 2.406 kB / 0.731 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.849e-05/0.002898, allocations: 35.58 kB / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.392e-05/0.002952, allocations: 18.67 kB / 0.7311 GB, free: 2.793 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.259e-05/0.003014, allocations: 12.53 kB / 0.7311 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.099e-05/0.003075, allocations: 21.61 kB / 0.7311 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.071e-05/0.003106, allocations: 1.781 kB / 0.7311 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.003117, allocations: 4 kB / 0.7311 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.121e-05/0.003208, allocations: 36.45 kB / 0.7311 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.507e-06/0.003218, allocations: 1.422 kB / 0.7311 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.003234, allocations: 10.3 kB / 0.7311 GB, free: 2.715 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.003335, allocations: 29.45 kB / 0.7312 GB, free: 2.688 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.297e-05/0.003348, allocations: 1.438 kB / 0.7312 GB, free: 2.688 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003348, allocations: 0.9844 kB / 0.7312 GB, free: 2.688 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.003365, allocations: 0 / 0.7312 GB, free: 2.688 MB / 0.698 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.0002844/0.003649, allocations: 249.2 kB / 0.7314 GB, free: 2.418 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.003677, allocations: 12.03 kB / 0.7314 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.003834, allocations: 90.7 kB / 0.7315 GB, free: 2.301 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.794e-05/0.003901, allocations: 107.5 kB / 0.7316 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.00391, allocations: 1.359 kB / 0.7316 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-06/0.003917, allocations: 4.312 kB / 0.7316 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.139e-05/0.003998, allocations: 50.95 kB / 0.7317 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.004006, allocations: 4.172 kB / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.839e-06/0.004011, allocations: 1.188 kB / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.004017, allocations: 4.375 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.00404, allocations: 8.422 kB / 0.7317 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.004225, allocations: 157 kB / 0.7318 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.015e-05/0.004266, allocations: 23.17 kB / 0.7319 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.18e-05/0.004277, allocations: 5.953 kB / 0.7319 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.00429, allocations: 1.125 kB / 0.7319 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.00431, allocations: 38.62 kB / 0.7319 GB, free: 1.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.004311, allocations: 0 / 0.7319 GB, free: 1.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.125e-05/0.004402, allocations: 42.56 kB / 0.7319 GB, free: 1.793 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.004431, allocations: 55.97 kB / 0.732 GB, free: 1.727 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.966e-05/0.004481, allocations: 106.6 kB / 0.7321 GB, free: 1.609 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.004491, allocations: 26.39 kB / 0.7321 GB, free: 1.578 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.004519, allocations: 92.08 kB / 0.7322 GB, free: 1.484 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.004535, allocations: 5.703 kB / 0.7322 GB, free: 1.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.004565, allocations: 14.38 kB / 0.7322 GB, free: 1.461 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.004643, allocations: 314.8 kB / 0.7325 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-06/0.004651, allocations: 0 / 0.7325 GB, free: 1.145 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.004659, allocations: 4.594 kB / 0.7325 GB, free: 1.141 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.376e-05/0.004683, allocations: 13.84 kB / 0.7325 GB, free: 1.125 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.004684, allocations: 0 / 0.7325 GB, free: 1.125 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.394e-05/0.004728, allocations: 38.89 kB / 0.7326 GB, free: 1.082 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.004739, allocations: 5.125 kB / 0.7326 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.004743, allocations: 3.984 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/0.004751, allocations: 3.938 kB / 0.7326 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.011e-05/0.004801, allocations: 12.66 kB / 0.7326 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.004803, allocations: 0 / 0.7326 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.889e-05/0.004822, allocations: 4.469 kB / 0.7326 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.004827, allocations: 8.922 kB / 0.7326 GB, free: 1.047 MB / 0.698 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 4.848e-05/0.004876, allocations: 109.8 kB / 0.7327 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.004893, allocations: 1.219 kB / 0.7327 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.352e-05/0.004966, allocations: 45 kB / 0.7328 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.004968, allocations: 1.656 kB / 0.7328 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.004971, allocations: 3.938 kB / 0.7328 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.004975, allocations: 4 kB / 0.7328 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.005076, allocations: 69.88 kB / 0.7328 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005077, allocations: 0 / 0.7328 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.005107, allocations: 8.531 kB / 0.7329 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-06/0.005112, allocations: 4.688 kB / 0.7329 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.005113, allocations: 0 / 0.7329 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-06/0.005118, allocations: 5.109 kB / 0.7329 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005119, allocations: 0 / 0.7329 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.005123, allocations: 7.938 kB / 0.7329 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.95e-05/0.005202, allocations: 128.8 kB / 0.733 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-06/0.00521, allocations: 0 / 0.733 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.741e-05/0.005258, allocations: 8 kB / 0.733 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.005282, allocations: 4.688 kB / 0.733 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.005288, allocations: 7.984 kB / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.042e-05/0.005298, allocations: 9.859 kB / 0.733 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.005298, allocations: 0 / 0.733 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001624/0.005461, allocations: 8 kB / 0.733 GB, free: 0.5781 MB / 0.698 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 7.067e-05/0.005531, allocations: 78.52 kB / 0.7331 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.413e-05/0.005586, allocations: 16.78 kB / 0.7331 GB, free: 484 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.00559, allocations: 4 kB / 0.7331 GB, free: 480 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.686e-05/0.005607, allocations: 9.891 kB / 0.7331 GB, free: 468 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.005756, allocations: 12 kB / 0.7331 GB, free: 456 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.006452, allocations: 130.9 kB / 0.7333 GB, free: 300 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.439e-05/0.006486, allocations: 55.36 kB / 0.7333 GB, free: 224 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.505e-05/0.006511, allocations: 9.109 kB / 0.7333 GB, free: 216 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.006558, allocations: 59.31 kB / 0.7334 GB, free: 156 kB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.006559, allocations: 2.75 kB / 0.7334 GB, free: 156 kB / 0.698 GB Notification: Performance of Templates: time 0.002093/0.008652, allocations: 0.6553 MB / 0.734 GB, free: 15.53 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.767215766012669]