Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001347/0.001347, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.00129/0.00129, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.465/1.465, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] 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.563/2.563, allocations: 443.4 MB / 0.7304 GB, free: 13.89 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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.89 kB / 1.059 GB, free: 388 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3398, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002771/0.3426, allocations: 1.438 MB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3436, allocations: 0.6016 MB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.3437, allocations: 0 / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.3437, allocations: 7.938 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/0.3438, allocations: 7.922 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.3441, allocations: 91.58 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.393e-05/0.3442, allocations: 23.92 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.3443, allocations: 8 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.297e-05/0.3443, allocations: 15.91 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.3444, allocations: 11.98 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.3444, allocations: 0 / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.3447, allocations: 147.7 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.3447, allocations: 7.938 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.3447, allocations: 7.984 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.345, allocations: 103.7 kB / 1.219 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.345, allocations: 0 / 1.219 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.345, allocations: 0 / 1.219 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.345, allocations: 0 / 1.219 GB, free: 12.88 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.0005208/0.3455, allocations: 359.2 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3455, allocations: 8.031 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004396/0.346, allocations: 36.8 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.3461, allocations: 172.3 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.3461, allocations: 4.312 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.3462, allocations: 384 / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.3464, allocations: 66.2 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3464, allocations: 8.172 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.3464, allocations: 3.938 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.3464, allocations: 0 / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.3467, allocations: 51.94 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.3472, allocations: 276.9 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.3474, allocations: 62.41 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.3475, allocations: 32.89 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.3475, allocations: 0 / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3476, allocations: 34.56 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.3476, allocations: 0 / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004892/0.3481, allocations: 113.6 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.3481, allocations: 59.47 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/0.3482, allocations: 101.8 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.3482, allocations: 25.7 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.3483, allocations: 88.14 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.3483, allocations: 3.953 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.3483, allocations: 17.7 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3485, allocations: 314.8 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3486, allocations: 27.97 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.3487, allocations: 27.97 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.3489, allocations: 52.81 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3489, allocations: 4.062 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003064/0.3493, allocations: 89.56 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3493, allocations: 11.88 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3493, allocations: 0 / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3493, allocations: 0 / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.3494, allocations: 16.02 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3494, allocations: 0 / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.866e-05/0.3495, allocations: 11.98 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.3495, allocations: 0 / 1.22 GB, free: 10.61 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 9.312e-05/0.3496, allocations: 117.8 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.3496, allocations: 4 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.3497, allocations: 3.125 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3497, allocations: 4 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3497, allocations: 7.938 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3497, allocations: 0 / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.3499, allocations: 169.6 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3499, allocations: 0 / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.35, allocations: 15.97 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.35, allocations: 0 / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.35, allocations: 0 / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.35, allocations: 0 / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.35, allocations: 4 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.3504, allocations: 195.3 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.3504, allocations: 77.11 kB / 1.221 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.3505, allocations: 0 / 1.221 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.3506, allocations: 16.02 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.3506, allocations: 0 / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.3506, allocations: 0 / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.794e-05/0.3507, allocations: 87.45 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3507, allocations: 0 / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000241/0.3509, allocations: 15.94 kB / 1.221 GB, free: 9.816 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 (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.0001846/0.3511, allocations: 115.2 kB / 1.221 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003086/0.3514, allocations: 55.94 kB / 1.221 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3514, allocations: 4 kB / 1.221 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.3516, allocations: 31.91 kB / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.3519, allocations: 3.938 kB / 1.221 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.3523, allocations: 142.6 kB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.3527, allocations: 0.673 MB / 1.222 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.024e-05/0.3527, allocations: 15.92 kB / 1.222 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.3528, allocations: 15.44 kB / 1.222 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.3528, allocations: 0 / 1.222 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of Templates: time 0.003417/0.3562, allocations: 0.7993 MB / 1.223 GB, free: 7.906 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 7.8882644874975085]