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.001077/0.001077, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001539/0.002616, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009277/0.0009277, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009523/0.00188, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9227/0.9227, allocations: 177.2 MB / 189.8 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08842/1.011, allocations: 53.65 MB / 243.4 MB, free: 15.5 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.787/1.787, allocations: 378.4 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4779/2.265, allocations: 123.3 MB / 0.7283 GB, free: 5.719 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.543e-06/1.543e-06, allocations: 0 / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.886e-05, allocations: 5.562 kB / 0.7296 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002465/0.002484, allocations: 1.515 MB / 0.7311 GB, free: 2.914 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003872/0.002871, allocations: 228.6 kB / 0.7313 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.002897, allocations: 0 / 0.7313 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.002922, allocations: 3.938 kB / 0.7313 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.852e-05/0.002951, allocations: 1.969 kB / 0.7313 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.003068, allocations: 30.62 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.232e-05/0.00315, allocations: 22.23 kB / 0.7314 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.113e-05/0.003232, allocations: 14.7 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.93e-05/0.003311, allocations: 17.52 kB / 0.7314 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.00336, allocations: 8.766 kB / 0.7314 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.003373, allocations: 0 / 0.7314 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.003482, allocations: 35.95 kB / 0.7315 GB, free: 2.578 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.003502, allocations: 3.219 kB / 0.7315 GB, free: 2.578 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.003524, allocations: 8 kB / 0.7315 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.00364, allocations: 27.16 kB / 0.7315 GB, free: 2.547 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.00365, allocations: 0 / 0.7315 GB, free: 2.547 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003651, allocations: 1.344 kB / 0.7315 GB, free: 2.547 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.003661, allocations: 0 / 0.7315 GB, free: 2.547 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.0003396/0.004001, allocations: 252.5 kB / 0.7317 GB, free: 2.273 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.004033, allocations: 12.81 kB / 0.7318 GB, free: 2.262 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.004208, allocations: 82.59 kB / 0.7318 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.098e-05/0.004299, allocations: 118.3 kB / 0.732 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.004308, allocations: 1.281 kB / 0.732 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.00432, allocations: 4.375 kB / 0.732 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.004415, allocations: 51.77 kB / 0.732 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.004423, allocations: 0.9531 kB / 0.732 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.004433, allocations: 4.375 kB / 0.732 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.004437, allocations: 1.781 kB / 0.732 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.749e-05/0.004465, allocations: 11.91 kB / 0.732 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.004686, allocations: 144.3 kB / 0.7322 GB, free: 1.789 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.659e-05/0.004733, allocations: 27.08 kB / 0.7322 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.318e-05/0.004746, allocations: 10.3 kB / 0.7322 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.004759, allocations: 4.828 kB / 0.7322 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.00478, allocations: 34.55 kB / 0.7322 GB, free: 1.695 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.004781, allocations: 1.094 kB / 0.7322 GB, free: 1.695 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.91e-05/0.00488, allocations: 41.62 kB / 0.7323 GB, free: 1.648 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.00491, allocations: 55.84 kB / 0.7323 GB, free: 1.582 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.043e-05/0.00496, allocations: 98.72 kB / 0.7324 GB, free: 1.473 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.00497, allocations: 26.2 kB / 0.7325 GB, free: 1.441 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.004998, allocations: 90.64 kB / 0.7325 GB, free: 1.352 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.005013, allocations: 3.953 kB / 0.7325 GB, free: 1.348 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.005039, allocations: 25.69 kB / 0.7326 GB, free: 1.316 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.285e-05/0.005112, allocations: 310.8 kB / 0.7329 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-06/0.005118, allocations: 1.594 kB / 0.7329 GB, free: 1.004 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.005125, allocations: 4 kB / 0.7329 GB, free: 1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.175e-05/0.005147, allocations: 12.84 kB / 0.7329 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005149, allocations: 0.6562 kB / 0.7329 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.141e-05/0.00519, allocations: 38.95 kB / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.005201, allocations: 4.984 kB / 0.7329 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.005205, allocations: 0 / 0.7329 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.005214, allocations: 0 / 0.7329 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/0.005272, allocations: 21.52 kB / 0.7329 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.005274, allocations: 0 / 0.7329 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.00529, allocations: 0 / 0.7329 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.005295, allocations: 7.984 kB / 0.7329 GB, free: 0.9102 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 5.185e-05/0.005347, allocations: 107.2 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.005359, allocations: 3.984 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.993e-05/0.005459, allocations: 46.31 kB / 0.7331 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.005461, allocations: 0 / 0.7331 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.005465, allocations: 9.062 kB / 0.7331 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.005468, allocations: 0 / 0.7331 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.968e-05/0.005548, allocations: 69.88 kB / 0.7332 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005548, allocations: 4.906 kB / 0.7332 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.005573, allocations: 8.656 kB / 0.7332 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-06/0.005578, allocations: 1.25 kB / 0.7332 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.005578, allocations: 0 / 0.7332 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-06/0.005582, allocations: 0 / 0.7332 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.005584, allocations: 4 kB / 0.7332 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.005586, allocations: 5.188 kB / 0.7332 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.005943, allocations: 136.6 kB / 0.7333 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.005952, allocations: 4 kB / 0.7333 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.816e-05/0.00598, allocations: 0.8438 kB / 0.7333 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.006006, allocations: 0 / 0.7333 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.006009, allocations: 8.516 kB / 0.7333 GB, free: 476 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.045e-05/0.00602, allocations: 9.078 kB / 0.7333 GB, free: 464 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.00602, allocations: 1.031 kB / 0.7334 GB, free: 464 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001063/0.006126, allocations: 8 kB / 0.7334 GB, free: 456 kB / 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 6.114e-05/0.006187, allocations: 85.27 kB / 0.7334 GB, free: 360 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.187e-05/0.006239, allocations: 22.14 kB / 0.7335 GB, free: 336 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.006243, allocations: 0 / 0.7335 GB, free: 336 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.001e-05/0.006263, allocations: 12.84 kB / 0.7335 GB, free: 320 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.006437, allocations: 34.36 kB / 0.7335 GB, free: 280 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006419/0.007079, allocations: 130.1 kB / 0.7336 GB, free: 124 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.306e-05/0.007112, allocations: 53.33 kB / 0.7337 GB, free: 52 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.007136, allocations: 4 kB / 0.7337 GB, free: 48 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.007202, allocations: 56.75 kB / 0.7337 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/0.007203, allocations: 0 / 0.7337 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.00199/0.009193, allocations: 0.6715 MB / 0.7344 GB, free: 15.35 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.669227130711079]