Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001357/0.001357, allocations: 80.2 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001361/0.001361, allocations: 158.4 kB / 23.01 MB, free: 4.949 MB / 14.72 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.395/1.395, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.964/2.964, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 75.88 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8524/0.8548, allocations: 181.8 MB / 1.187 GB, free: 16.41 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002669/0.8574, allocations: 1.437 MB / 1.188 GB, free: 15.43 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0005284/0.858, allocations: 207.4 kB / 1.188 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.858, allocations: 1.531 kB / 1.188 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.858, allocations: 4.734 kB / 1.188 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.833e-05/0.8581, allocations: 4.453 kB / 1.188 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.8583, allocations: 33.2 kB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.461e-05/0.8584, allocations: 20.78 kB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.8585, allocations: 8.234 kB / 1.188 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.331e-05/0.8585, allocations: 9.938 kB / 1.188 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.8586, allocations: 12.64 kB / 1.188 GB, free: 15.25 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.8586, allocations: 2.656 kB / 1.188 GB, free: 15.25 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.8587, allocations: 35.62 kB / 1.188 GB, free: 15.24 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.8587, allocations: 5.266 kB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.8588, allocations: 3.203 kB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.8589, allocations: 48.84 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8589, allocations: 0 / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.355e-06/0.8589, allocations: 0.6094 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.8589, allocations: 1.469 kB / 1.188 GB, free: 15.21 MB / 1.076 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.0003857/0.8593, allocations: 265.7 kB / 1.189 GB, free: 14.94 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.8593, allocations: 12.69 kB / 1.189 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.8595, allocations: 12.86 kB / 1.189 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.694e-05/0.8596, allocations: 105.3 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.8596, allocations: 1.594 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.8596, allocations: 1.531 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.8598, allocations: 50.02 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.8598, allocations: 4.125 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.8598, allocations: 4.594 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.8598, allocations: 5.531 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.86, allocations: 37.03 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.8602, allocations: 194.5 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.8604, allocations: 35.89 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.597e-05/0.8604, allocations: 23.97 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.8605, allocations: 5.312 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.8605, allocations: 32.64 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.8605, allocations: 7.984 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003364/0.8608, allocations: 87.61 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.8608, allocations: 52.5 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.8609, allocations: 98.19 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.8609, allocations: 25.7 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.8609, allocations: 86.2 kB / 1.189 GB, free: 14.13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.8609, allocations: 5.953 kB / 1.189 GB, free: 14.13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.861, allocations: 12.86 kB / 1.189 GB, free: 14.11 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.931e-05/0.861, allocations: 321.1 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.391e-05/0.8611, allocations: 14.02 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.282e-05/0.8612, allocations: 18.42 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.8613, allocations: 37.58 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8613, allocations: 3.938 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001907/0.8615, allocations: 75.77 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.8615, allocations: 5.281 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.8615, allocations: 0.6094 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.8615, allocations: 1.125 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.8616, allocations: 8.906 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.8616, allocations: 0 / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.368e-05/0.8617, allocations: 6.812 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.8617, allocations: 0.7031 kB / 1.19 GB, free: 13.73 MB / 1.076 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.722e-05/0.8617, allocations: 120.6 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.8618, allocations: 6.031 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.862, allocations: 78.61 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.862, allocations: 1.828 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.862, allocations: 0 / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.862, allocations: 0 / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.869e-05/0.8621, allocations: 113.4 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8621, allocations: 1.125 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.142e-05/0.8622, allocations: 14.16 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8622, allocations: 4.781 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.8622, allocations: 0 / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.8622, allocations: 1.516 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8622, allocations: 0 / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.8624, allocations: 162.9 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.8624, allocations: 6.953 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.8624, allocations: 1.859 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.8625, allocations: 5.25 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.8626, allocations: 14.98 kB / 1.19 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.8626, allocations: 1.281 kB / 1.19 GB, free: 13.25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.531e-05/0.8626, allocations: 84.41 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8626, allocations: 0 / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002197/0.8628, allocations: 4.906 kB / 1.191 GB, free: 13.18 MB / 1.076 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 8.98e-05/0.8629, allocations: 94.66 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.8631, allocations: 37.56 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8631, allocations: 4.062 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.84e-05/0.8632, allocations: 22.64 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.8635, allocations: 1.125 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.8638, allocations: 125.5 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.111e-05/0.8638, allocations: 63.94 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.483e-05/0.8638, allocations: 6.125 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.8638, allocations: 9.812 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.8638, allocations: 5.438 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of Templates: time 0.002722/0.8666, allocations: 0.5085 MB / 1.191 GB, free: 12.79 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.65916168608237]