Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.002006/0.002006, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002656/0.002656, allocations: 190.9 kB / 22.1 MB, free: 4.273 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.461/1.461, allocations: 225.6 MB / 250.8 MB, free: 2.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.944/2.944, allocations: 495.8 MB / 0.7831 GB, free: 12.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.91 kB / 1.137 GB, free: 12.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002187/1.024, allocations: 1.425 MB / 1.308 GB, free: 32.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008059/1.025, allocations: 0.6099 MB / 1.309 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/1.025, allocations: 0 / 1.309 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/1.025, allocations: 3.188 kB / 1.309 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.037e-05/1.025, allocations: 3.938 kB / 1.309 GB, free: 32.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000354/1.025, allocations: 96.41 kB / 1.309 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.784e-05/1.025, allocations: 26.59 kB / 1.309 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.607e-05/1.026, allocations: 4 kB / 1.309 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/1.026, allocations: 17.34 kB / 1.309 GB, free: 32.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.636e-05/1.026, allocations: 10.97 kB / 1.309 GB, free: 32.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/1.026, allocations: 3.375 kB / 1.309 GB, free: 32.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/1.026, allocations: 131.4 kB / 1.309 GB, free: 32.24 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/1.026, allocations: 7.938 kB / 1.309 GB, free: 32.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/1.026, allocations: 14.06 kB / 1.309 GB, free: 32.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/1.026, allocations: 97.06 kB / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.026, allocations: 0 / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.775e-06/1.026, allocations: 3.938 kB / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.209e-05/1.026, allocations: 0 / 1.309 GB, free: 32.2 MB / 1.061 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.0003865/1.027, allocations: 291.6 kB / 1.309 GB, free: 31.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/1.027, allocations: 8.562 kB / 1.309 GB, free: 31.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004197/1.027, allocations: 31.86 kB / 1.309 GB, free: 31.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.874e-05/1.027, allocations: 109.5 kB / 1.31 GB, free: 31.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/1.027, allocations: 4.375 kB / 1.31 GB, free: 31.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/1.027, allocations: 3.25 kB / 1.31 GB, free: 31.77 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/1.027, allocations: 68.91 kB / 1.31 GB, free: 31.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.027, allocations: 192 / 1.31 GB, free: 31.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.027, allocations: 3.938 kB / 1.31 GB, free: 31.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.027, allocations: 2.938 kB / 1.31 GB, free: 31.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/1.028, allocations: 49.84 kB / 1.31 GB, free: 31.72 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/1.028, allocations: 257.2 kB / 1.31 GB, free: 31.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/1.028, allocations: 57.27 kB / 1.31 GB, free: 31.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/1.028, allocations: 36.2 kB / 1.31 GB, free: 31.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/1.028, allocations: 0 / 1.31 GB, free: 31.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/1.028, allocations: 33.38 kB / 1.31 GB, free: 31.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/1.028, allocations: 0 / 1.31 GB, free: 31.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004932/1.029, allocations: 120.2 kB / 1.31 GB, free: 31.31 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/1.029, allocations: 57.39 kB / 1.31 GB, free: 31.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.86e-05/1.029, allocations: 95.95 kB / 1.31 GB, free: 31.15 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/1.029, allocations: 33.64 kB / 1.31 GB, free: 31.11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.073e-05/1.029, allocations: 80.14 kB / 1.31 GB, free: 31.03 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/1.029, allocations: 7.328 kB / 1.31 GB, free: 31.03 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/1.029, allocations: 12.72 kB / 1.31 GB, free: 31.01 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.783e-05/1.029, allocations: 325.1 kB / 1.311 GB, free: 30.69 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/1.029, allocations: 22.75 kB / 1.311 GB, free: 30.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/1.029, allocations: 25.34 kB / 1.311 GB, free: 30.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/1.03, allocations: 59.02 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.03, allocations: 0 / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002839/1.03, allocations: 95.06 kB / 1.311 GB, free: 30.62 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/1.03, allocations: 2.875 kB / 1.311 GB, free: 30.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.03, allocations: 6.938 kB / 1.311 GB, free: 30.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/1.03, allocations: 4.031 kB / 1.311 GB, free: 30.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/1.03, allocations: 9.328 kB / 1.311 GB, free: 30.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.03, allocations: 2.844 kB / 1.311 GB, free: 30.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.861e-05/1.03, allocations: 9.922 kB / 1.311 GB, free: 30.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/1.03, allocations: 6.359 kB / 1.311 GB, free: 30.61 MB / 1.061 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.22e-05/1.03, allocations: 116.3 kB / 1.311 GB, free: 30.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/1.03, allocations: 0 / 1.311 GB, free: 30.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/1.03, allocations: 9.906 kB / 1.311 GB, free: 30.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.03, allocations: 0 / 1.311 GB, free: 30.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/1.03, allocations: 0 / 1.311 GB, free: 30.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/1.03, allocations: 0 / 1.311 GB, free: 30.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/1.03, allocations: 148.9 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.03, allocations: 2.562 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/1.03, allocations: 11.36 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.03, allocations: 0 / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/1.03, allocations: 7.469 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.03, allocations: 3.938 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.03, allocations: 0 / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/1.031, allocations: 182.8 kB / 1.311 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/1.031, allocations: 11.41 kB / 1.311 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/1.031, allocations: 2.938 kB / 1.311 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/1.031, allocations: 6.062 kB / 1.311 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/1.031, allocations: 2.844 kB / 1.311 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/1.031, allocations: 0 / 1.311 GB, free: 30.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.033e-05/1.031, allocations: 85.56 kB / 1.312 GB, free: 30.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.031, allocations: 0 / 1.312 GB, free: 30.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002395/1.031, allocations: 11.22 kB / 1.312 GB, free: 30.07 MB / 1.061 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 (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 Backend phase and start with SimCode phase: time 0.0001344/1.031, allocations: 121.4 kB / 1.312 GB, free: 29.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003336/1.032, allocations: 59.39 kB / 1.312 GB, free: 29.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/1.032, allocations: 0 / 1.312 GB, free: 29.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/1.032, allocations: 38.92 kB / 1.312 GB, free: 29.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/1.032, allocations: 4.078 kB / 1.312 GB, free: 29.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/1.033, allocations: 128.2 kB / 1.312 GB, free: 29.82 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.595e-05/1.033, allocations: 0.6791 MB / 1.313 GB, free: 29.12 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.428e-05/1.033, allocations: 10.94 kB / 1.313 GB, free: 29.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/1.033, allocations: 13.8 kB / 1.313 GB, free: 29.11 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/1.033, allocations: 0 / 1.313 GB, free: 29.11 MB / 1.061 GB Notification: Performance of Templates: time 0.003107/1.036, allocations: 0.7953 MB / 1.313 GB, free: 29.02 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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: 9.151403076015413]