Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.001755/0.001755, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001954/0.001954, allocations: 213.7 kB / 23 MB, free: 4.969 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.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.28/3.28, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [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.002019/0.002019, allocations: 69.97 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3701, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002545/0.3727, allocations: 1.295 MB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3737, allocations: 0.5262 MB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.3738, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.3738, allocations: 3.984 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/0.3738, allocations: 15.86 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.3743, allocations: 95.58 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.041e-05/0.3743, allocations: 19.86 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.3744, allocations: 11.94 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.648e-05/0.3744, allocations: 4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.829e-05/0.3745, allocations: 4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.3745, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.3748, allocations: 147.7 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.3748, allocations: 4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.3748, allocations: 7.938 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.375, allocations: 91.7 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.375, allocations: 4 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.375, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.375, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004305/0.3754, allocations: 274.1 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3755, allocations: 8.031 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004941/0.376, allocations: 32.89 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.3761, allocations: 106.5 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3761, allocations: 8.375 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.3761, allocations: 4.375 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3763, allocations: 50.2 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3763, allocations: 4.125 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3764, allocations: 3.938 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3764, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.3765, allocations: 23.97 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.3767, allocations: 105.3 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.3769, allocations: 46.58 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.779e-05/0.377, allocations: 12.91 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.377, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.377, allocations: 34.56 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.377, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003675/0.3774, allocations: 85.48 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.3774, allocations: 55.41 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.3775, allocations: 93.86 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.3776, allocations: 25.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.3776, allocations: 80.14 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.3776, allocations: 15.81 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.3777, allocations: 17.72 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3778, allocations: 310.8 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.528e-05/0.3779, allocations: 24.11 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.137e-05/0.378, allocations: 11.98 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.3781, allocations: 36.72 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3781, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/0.3783, allocations: 61.73 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3783, allocations: 7.984 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3783, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3783, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.3784, allocations: 7.938 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3784, allocations: 3.984 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.3785, allocations: 4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.3785, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 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 8.656e-05/0.3786, allocations: 114.4 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.3786, allocations: 4.031 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.3787, allocations: 3.312 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3787, allocations: 7.922 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3787, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.3787, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.3787, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.3788, allocations: 7.984 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.3788, allocations: 3.938 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002868/0.3791, allocations: 144.9 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002606/0.3794, allocations: 230.7 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.254e-05/0.3794, allocations: 19.92 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4e-05/0.3795, allocations: 79.28 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of Backend: time 3.11e-07/0.3795, allocations: 4.062 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005456/0.38, allocations: 143 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of SimCode: time 0.000589/0.3806, allocations: 0.5661 MB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of Templates: time 0.004487/0.3851, allocations: 1.594 MB / 1.334 GB, free: 10.04 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.47129660200153]