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.001249/0.001249, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001452/0.001452, 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 1.02/1.02, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.886/1.886, allocations: 377.9 MB / 0.624 GB, free: 8.43 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.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 1.663e-06/1.663e-06, allocations: 0 / 0.812 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.966e-05, allocations: 2.312 kB / 0.812 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002184/0.002213, allocations: 1.47 MB / 0.8134 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008253/0.003039, allocations: 0.5912 MB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.00307, allocations: 0 / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.003099, allocations: 5.219 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.542e-05/0.003154, allocations: 3.938 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.003539, allocations: 109.4 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.655e-05/0.003595, allocations: 19.92 kB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.00368, allocations: 8 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.416e-05/0.003734, allocations: 11.98 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.202e-05/0.003776, allocations: 13.86 kB / 0.8142 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.003788, allocations: 0 / 0.8142 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.003987, allocations: 139.7 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.004004, allocations: 11.92 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.504e-05/0.004019, allocations: 4 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.004197, allocations: 113.5 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.0042, allocations: 0 / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.213e-06/0.004201, allocations: 4 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.004206, allocations: 0 / 0.8144 GB, free: 15.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003453/0.004551, allocations: 388.3 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.004589, allocations: 8.75 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.004862, allocations: 34.14 kB / 0.8148 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.582e-05/0.004938, allocations: 105.2 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.004949, allocations: 8.375 kB / 0.8149 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.004957, allocations: 1.719 kB / 0.8149 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.005096, allocations: 71.44 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.005105, allocations: 192 / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.005114, allocations: 1.75 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.005121, allocations: 4.375 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.349e-05/0.005155, allocations: 19.86 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.005448, allocations: 249.5 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.69e-05/0.005525, allocations: 44.34 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/0.005546, allocations: 15.73 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.005567, allocations: 4.906 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.005587, allocations: 33.39 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.005588, allocations: 0.7812 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001464/0.005734, allocations: 62.83 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.005758, allocations: 55.41 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.893e-05/0.005817, allocations: 153.9 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.005827, allocations: 26.55 kB / 0.8157 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.005865, allocations: 130.9 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.005882, allocations: 9.188 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.005911, allocations: 23.38 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.006019, allocations: 0.4884 MB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.00604, allocations: 5.281 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.424e-05/0.006054, allocations: 4 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.969e-05/0.006093, allocations: 29.33 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.006095, allocations: 0 / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.446e-05/0.00617, allocations: 53.64 kB / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.006183, allocations: 6.562 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.006189, allocations: 0 / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.006201, allocations: 3.938 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.006272, allocations: 11.98 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.006275, allocations: 0 / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.916e-05/0.006304, allocations: 7.984 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.006309, allocations: 0.5 kB / 0.8164 GB, free: 12.8 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 6.983e-05/0.006379, allocations: 157.1 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.006395, allocations: 1.344 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.006428, allocations: 8.188 kB / 0.8166 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.006431, allocations: 7.938 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.006434, allocations: 0 / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.006437, allocations: 4.641 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.204e-05/0.006529, allocations: 101.2 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.00653, allocations: 0.6562 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.006569, allocations: 18.98 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.00657, allocations: 0 / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.006577, allocations: 3.984 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.006577, allocations: 0 / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006578, allocations: 0 / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.006702, allocations: 195.9 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.00671, allocations: 7.953 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.006721, allocations: 6.469 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.081e-05/0.006761, allocations: 7.984 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.006786, allocations: 192 / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.006791, allocations: 3.938 kB / 0.8169 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.58e-05/0.006827, allocations: 131.2 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.006827, allocations: 0 / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001564/0.006983, allocations: 20.88 kB / 0.8171 GB, free: 12.09 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.0001341/0.007117, allocations: 112.2 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.284e-05/0.00719, allocations: 28.8 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007191, allocations: 3.938 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.359e-05/0.007215, allocations: 20.73 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.007417, allocations: 7.938 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.007799, allocations: 128 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.007831, allocations: 64.81 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.223e-05/0.007874, allocations: 4.469 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.007938, allocations: 78.19 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.007939, allocations: 2.469 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of Templates: time 0.002585/0.01052, allocations: 1.041 MB / 0.8185 GB, free: 10.57 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_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.1815220401622355]