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.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.001614/0.001614, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001833/0.001833, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.352/3.352, allocations: 0.49 GB / 0.7958 GB, free: 33.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.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: 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.002037/0.002037, allocations: 74.44 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.309, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00274/0.3118, allocations: 1.437 MB / 1.329 GB, free: 8 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.3128, allocations: 0.6075 MB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.273e-05/0.3128, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.3129, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.578e-05/0.3129, allocations: 15.91 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.3133, allocations: 95.58 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.035e-05/0.3133, allocations: 27.86 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.283e-05/0.3134, allocations: 4 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.097e-05/0.3135, allocations: 11.98 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.552e-05/0.3135, allocations: 7.938 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.3135, allocations: 0 / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.3138, allocations: 159.8 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.718e-06/0.3138, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.3139, allocations: 11.94 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.3141, allocations: 111.6 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3141, allocations: 0 / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3141, allocations: 4 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3141, allocations: 0 / 1.33 GB, free: 14.96 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004515/0.3146, allocations: 288 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.3146, allocations: 12.03 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004593/0.315, allocations: 28.89 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.3152, allocations: 118.5 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.3152, allocations: 384 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3152, allocations: 384 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.3154, allocations: 62.2 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3154, allocations: 192 / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3154, allocations: 11.88 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3155, allocations: 0 / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.3157, allocations: 59.88 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.3162, allocations: 236 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.3164, allocations: 66.47 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.3165, allocations: 28.89 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.3166, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.3166, allocations: 38.5 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.3166, allocations: 3.938 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000513/0.3171, allocations: 113.6 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.3171, allocations: 51.41 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.3172, allocations: 101.8 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3172, allocations: 29.7 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.3173, allocations: 84.27 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.3173, allocations: 3.953 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.3174, allocations: 21.7 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3175, allocations: 310.8 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.3176, allocations: 27.97 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.3177, allocations: 27.97 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.318, allocations: 56.75 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.318, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003115/0.3183, allocations: 101.6 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3183, allocations: 4 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3183, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3183, allocations: 4 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.3185, allocations: 15.98 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.3185, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.279e-05/0.3186, allocations: 7.984 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.3186, allocations: 32 / 1.331 GB, free: 12.89 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 9.653e-05/0.3187, allocations: 121.8 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.3187, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.3188, allocations: 7.312 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3188, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3188, allocations: 8.125 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3188, allocations: 3.938 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.319, allocations: 136.7 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.319, allocations: 4 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.3191, allocations: 15.97 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3191, allocations: 4 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3191, allocations: 0 / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3191, allocations: 0 / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3191, allocations: 0 / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.3195, allocations: 187.4 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.3195, allocations: 11.89 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3195, allocations: 0 / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.3196, allocations: 7.984 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.3197, allocations: 4 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.3197, allocations: 7.938 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.854e-05/0.3197, allocations: 87.3 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3197, allocations: 0 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002433/0.32, allocations: 11.94 kB / 1.332 GB, free: 12.21 MB / 1.029 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.0001761/0.3201, allocations: 121.1 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.3204, allocations: 59.94 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3204, allocations: 4 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.3206, allocations: 27.97 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.3209, allocations: 5.5 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.3213, allocations: 168.6 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.3217, allocations: 0.6729 MB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.3218, allocations: 11.42 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3218, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of Templates: time 0.002516/0.3243, allocations: 0.9156 MB / 1.334 GB, free: 10.17 MB / 1.029 GB " [Timeout remaining time 300] 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/jenkins1/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: 11.166386042983504]