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.00103/0.00103, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001013/0.001013, allocations: 161 kB / 23.81 MB, free: 0.7539 MB / 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.8867/0.8867, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.774/1.774, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.593e-06/1.593e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.57e-05, allocations: 3.156 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001676/0.001702, allocations: 1.344 MB / 0.8129 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006903/0.002392, allocations: 0.5728 MB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.002414, allocations: 3.938 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.002435, allocations: 0 / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.634e-05/0.002481, allocations: 9.469 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.002843, allocations: 103.4 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.35e-05/0.002897, allocations: 15.88 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.682e-05/0.002934, allocations: 4.516 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.349e-05/0.002977, allocations: 9.156 kB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.815e-05/0.003015, allocations: 7.984 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.003028, allocations: 0 / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.003228, allocations: 144.2 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.003241, allocations: 0.5312 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.003257, allocations: 4 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.003421, allocations: 109 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.003424, allocations: 0 / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.003425, allocations: 0 / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.003429, allocations: 0 / 0.8138 GB, free: 15.41 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.0003263/0.003756, allocations: 381.6 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.00379, allocations: 11.97 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/0.00407, allocations: 34.69 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.195e-05/0.004142, allocations: 108.6 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.004155, allocations: 5.391 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.004165, allocations: 4.375 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.004279, allocations: 56.31 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.004286, allocations: 192 / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.004296, allocations: 384 / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.004302, allocations: 3.344 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.153e-05/0.004343, allocations: 19.92 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.004468, allocations: 112.7 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.482e-05/0.004533, allocations: 46.98 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.004559, allocations: 19.67 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.004575, allocations: 4.5 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.004595, allocations: 37.39 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.004595, allocations: 1.938 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.00015/0.004745, allocations: 61.61 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.004772, allocations: 51.41 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.504e-05/0.004837, allocations: 159.6 kB / 0.8149 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.004848, allocations: 25.7 kB / 0.8149 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.00488, allocations: 130.9 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.004902, allocations: 7.953 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.004931, allocations: 23.36 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.005035, allocations: 493 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.005054, allocations: 11.98 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.684e-05/0.005071, allocations: 9.031 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.958e-05/0.00511, allocations: 24.52 kB / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005112, allocations: 0.8438 kB / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.73e-05/0.005179, allocations: 54.86 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.005191, allocations: 4 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.005195, allocations: 0 / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.005206, allocations: 4 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.085e-05/0.005277, allocations: 12.83 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.005282, allocations: 0 / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.005306, allocations: 5 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.005311, allocations: 0 / 0.8156 GB, free: 13.34 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.546e-05/0.005377, allocations: 158 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.005385, allocations: 3.984 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.005415, allocations: 12.38 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.005416, allocations: 0 / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.005419, allocations: 0 / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.005423, allocations: 5.25 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.217e-05/0.005486, allocations: 116.6 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.005487, allocations: 3.984 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.005517, allocations: 9.016 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.005519, allocations: 0 / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.005527, allocations: 5.141 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.005529, allocations: 7.938 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.005529, allocations: 0 / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.525e-05/0.005615, allocations: 90.09 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.00565, allocations: 15.92 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.00566, allocations: 0 / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/0.005681, allocations: 0.9062 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.005692, allocations: 0 / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.005697, allocations: 7.984 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.876e-05/0.005726, allocations: 120.5 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005726, allocations: 0 / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001331/0.005859, allocations: 15.94 kB / 0.8162 GB, free: 12.72 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.0003733/0.006232, allocations: 120.2 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.432e-05/0.006327, allocations: 32.77 kB / 0.8163 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.006328, allocations: 0 / 0.8163 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.006347, allocations: 22.33 kB / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.006476, allocations: 8 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.006938, allocations: 120 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.016e-05/0.006968, allocations: 59.22 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.144e-05/0.00701, allocations: 13.17 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.007036, allocations: 8.5 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.007036, allocations: 0 / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of Templates: time 0.002445/0.009481, allocations: 0.8718 MB / 0.8174 GB, free: 11.43 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: 4.936081365682185]