Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 109 kB / 17.54 MB, free: 4.773 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 186 kB / 20.71 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.332 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.339/2.339, allocations: 443.5 MB / 0.7304 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 67.89 kB / 1.059 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2602, allocations: 160.7 MB / 1.216 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002371/0.2625, allocations: 1.425 MB / 1.217 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004393/0.263, allocations: 219.4 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.263, allocations: 0 / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.263, allocations: 3.938 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.877e-05/0.2631, allocations: 7.938 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.2632, allocations: 27.89 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.005e-05/0.2633, allocations: 23.92 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.075e-05/0.2634, allocations: 4 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.2634, allocations: 4 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.2634, allocations: 19.91 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.2635, allocations: 4 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.59e-05/0.2635, allocations: 23.98 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.2635, allocations: 3.984 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.2636, allocations: 11.94 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.2637, allocations: 40.11 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2637, allocations: 4 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2637, allocations: 0 / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.2637, allocations: 0 / 1.217 GB, free: 14.12 MB / 0.9669 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.0004158/0.2641, allocations: 339.4 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.2641, allocations: 8.031 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.2642, allocations: 30.75 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.027e-05/0.2643, allocations: 8.891 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2644, allocations: 172.3 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.2644, allocations: 4.375 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.2644, allocations: 384 / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.2645, allocations: 50.23 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2646, allocations: 3.938 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.2646, allocations: 0 / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.2646, allocations: 0 / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.2647, allocations: 35.95 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.265, allocations: 252.9 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.2652, allocations: 38.5 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.494e-05/0.2652, allocations: 24.89 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.2653, allocations: 4 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.2653, allocations: 34.56 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2653, allocations: 3.938 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003249/0.2656, allocations: 89.53 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.2657, allocations: 51.41 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.885e-05/0.2657, allocations: 97.86 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2657, allocations: 25.7 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.2658, allocations: 84.25 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.2658, allocations: 15.89 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.2658, allocations: 13.72 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2659, allocations: 310.8 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.266, allocations: 15.98 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.202e-05/0.2661, allocations: 19.97 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.2662, allocations: 40.89 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.2662, allocations: 3.938 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002016/0.2665, allocations: 69.59 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.2665, allocations: 4 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.2665, allocations: 0 / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.2665, allocations: 0 / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.85e-05/0.2666, allocations: 11.98 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.2666, allocations: 4.031 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.2666, allocations: 4 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.2666, allocations: 0 / 1.219 GB, free: 12.05 MB / 0.9669 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 7.607e-05/0.2667, allocations: 117.8 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.2667, allocations: 4 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.2669, allocations: 80.72 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2669, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2669, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.267, allocations: 240 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.2671, allocations: 161.6 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2671, allocations: 0 / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.803e-05/0.2672, allocations: 19.97 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.2672, allocations: 0 / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.2672, allocations: 0 / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2672, allocations: 4 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.2672, allocations: 0 / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.2674, allocations: 171.4 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.2675, allocations: 77.11 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.2675, allocations: 11.92 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.698e-05/0.2676, allocations: 8 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.2676, allocations: 0 / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.2676, allocations: 3.984 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.785e-05/0.2676, allocations: 87.22 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2676, allocations: 0 / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002017/0.2678, allocations: 4 kB / 1.22 GB, free: 11.22 MB / 0.9669 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.000507/0.2683, allocations: 0.7007 MB / 1.22 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.2685, allocations: 43.95 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2685, allocations: 0 / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.427e-05/0.2686, allocations: 31.84 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.2689, allocations: 0 / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.2693, allocations: 144.9 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.2695, allocations: 0.6807 MB / 1.221 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.483e-05/0.2695, allocations: 4 kB / 1.221 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.2696, allocations: 11.44 kB / 1.221 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.2696, allocations: 0 / 1.221 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.2917, allocations: 1.337 MB / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.974/7.266, allocations: 15.44 kB / 1.223 GB, free: 8.25 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.460333047994936]