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.000959/0.000959, allocations: 81.86 kB / 20.68 MB, free: 3.812 MB / 18.57 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.0009321/0.0009321, allocations: 181 kB / 24.09 MB, free: 416 kB / 18.57 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 0.9871/0.9871, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.854/1.854, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.711e-05, allocations: 3.375 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001916/0.001944, allocations: 1.337 MB / 0.8133 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007098/0.002653, allocations: 0.5645 MB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.007e-05/0.002673, allocations: 0 / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.002693, allocations: 8.969 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.204e-05/0.002735, allocations: 7.922 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.003037, allocations: 92.28 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.445e-05/0.003091, allocations: 25.48 kB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.003126, allocations: 11.98 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.866e-05/0.003174, allocations: 4 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.919e-05/0.003213, allocations: 7.984 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.003225, allocations: 1.531 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.003413, allocations: 139.7 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.003425, allocations: 0 / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.472e-05/0.00344, allocations: 4 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.003596, allocations: 111.7 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003598, allocations: 1.375 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.332e-06/0.003599, allocations: 0 / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.003603, allocations: 0 / 0.8143 GB, free: 15.15 MB / 0.7761 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.0003118/0.003915, allocations: 378.2 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.003956, allocations: 12.03 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.004219, allocations: 33.38 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.596e-05/0.004295, allocations: 113.5 kB / 0.8148 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.004308, allocations: 12.36 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.004315, allocations: 384 / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.004421, allocations: 56.88 kB / 0.8148 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.059e-06/0.004426, allocations: 192 / 0.8148 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.004433, allocations: 384 / 0.8148 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.004437, allocations: 384 / 0.8148 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.948e-05/0.004467, allocations: 18.52 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.004572, allocations: 97.27 kB / 0.815 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.097e-05/0.004623, allocations: 47 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.004643, allocations: 19.73 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.004659, allocations: 0.5312 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.004678, allocations: 34.11 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.004679, allocations: 0 / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001268/0.004806, allocations: 63.8 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.004829, allocations: 51.41 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.943e-05/0.004888, allocations: 157.9 kB / 0.8153 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.004899, allocations: 25.7 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/0.004928, allocations: 127.4 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.00495, allocations: 8.547 kB / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.004978, allocations: 19.36 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.005087, allocations: 0.4969 MB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.005103, allocations: 7.984 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.242e-05/0.005116, allocations: 5.156 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.415e-05/0.00515, allocations: 16.19 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.005151, allocations: 1.125 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.13e-05/0.005222, allocations: 58.53 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.005232, allocations: 4 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.005236, allocations: 0 / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.005245, allocations: 4.781 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.07e-05/0.005306, allocations: 7.984 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.005308, allocations: 2.219 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.005332, allocations: 4 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.005337, allocations: 3.938 kB / 0.8161 GB, free: 13.11 MB / 0.7761 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.576e-05/0.005393, allocations: 152.6 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-06/0.005402, allocations: 4 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.005429, allocations: 10.03 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.005431, allocations: 0 / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.005434, allocations: 3.984 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.005437, allocations: 0 / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.562e-05/0.005502, allocations: 101.2 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005504, allocations: 1.469 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.005532, allocations: 11.98 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.005534, allocations: 0 / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.005539, allocations: 0 / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.005539, allocations: 0.5 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.00554, allocations: 1.875 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.561e-05/0.005636, allocations: 92.48 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.005663, allocations: 11.92 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.005673, allocations: 11.92 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.005693, allocations: 1.344 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.868e-06/0.005703, allocations: 4 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.005706, allocations: 0 / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.09e-05/0.005737, allocations: 124.2 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005737, allocations: 0 / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00013/0.005867, allocations: 15.98 kB / 0.8166 GB, free: 12.52 MB / 0.7761 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.000117/0.005984, allocations: 108.3 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.63e-05/0.00605, allocations: 35.34 kB / 0.8167 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.006052, allocations: 0 / 0.8167 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.587e-05/0.006068, allocations: 19.62 kB / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.00619, allocations: 11.92 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.006629, allocations: 120.1 kB / 0.8169 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.719e-05/0.006656, allocations: 55.22 kB / 0.8169 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.198e-05/0.006698, allocations: 9 kB / 0.8169 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.006756, allocations: 78.19 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.006757, allocations: 2.594 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of Templates: time 0.002343/0.0091, allocations: 0.8855 MB / 0.8179 GB, free: 11.16 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.010266735218465]