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.001012/0.001012, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001017/0.001017, allocations: 167 kB / 24.86 MB, free: 9.289 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.9513/0.9513, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.882/1.882, allocations: 377.9 MB / 0.6247 GB, free: 8.449 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.773e-06/1.773e-06, allocations: 0 / 0.8127 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.788e-05, allocations: 2.312 kB / 0.8127 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001746/0.001764, allocations: 1.469 MB / 0.8142 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007089/0.002473, allocations: 0.5953 MB / 0.8148 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.002504, allocations: 0 / 0.8148 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.002527, allocations: 1.031 kB / 0.8148 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.881e-05/0.002576, allocations: 7.922 kB / 0.8148 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.00287, allocations: 93.39 kB / 0.8149 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.033e-05/0.002931, allocations: 35.84 kB / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.35e-05/0.003004, allocations: 4 kB / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.003051, allocations: 12.61 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.003093, allocations: 11.98 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.003103, allocations: 1.25 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.003281, allocations: 143.7 kB / 0.8151 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.003293, allocations: 0 / 0.8151 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.00331, allocations: 18.36 kB / 0.8151 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.003469, allocations: 111.7 kB / 0.8152 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003471, allocations: 0 / 0.8152 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003472, allocations: 0 / 0.8152 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.003475, allocations: 0 / 0.8152 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.0003026/0.003778, allocations: 380.3 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.003808, allocations: 8.031 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002673/0.004076, allocations: 43.3 kB / 0.8156 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.74e-05/0.004173, allocations: 108.6 kB / 0.8157 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.004185, allocations: 4.375 kB / 0.8157 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.004192, allocations: 5.906 kB / 0.8157 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.004317, allocations: 62.92 kB / 0.8158 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.004325, allocations: 192 / 0.8158 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.004333, allocations: 6.25 kB / 0.8158 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.004338, allocations: 384 / 0.8158 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.302e-05/0.004371, allocations: 15.92 kB / 0.8158 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.004647, allocations: 257.7 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.058e-05/0.004717, allocations: 43.08 kB / 0.8161 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.004737, allocations: 12.94 kB / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.00475, allocations: 0 / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.004772, allocations: 41.33 kB / 0.8161 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.004773, allocations: 0.5312 kB / 0.8161 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001463/0.004919, allocations: 59.02 kB / 0.8162 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.004945, allocations: 51.41 kB / 0.8162 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.722e-05/0.005002, allocations: 166.7 kB / 0.8164 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.005014, allocations: 29.69 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.005049, allocations: 127.4 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.005065, allocations: 5.328 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.005093, allocations: 19.38 kB / 0.8166 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.005196, allocations: 0.4884 MB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.005211, allocations: 4 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.00523, allocations: 17.08 kB / 0.8171 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/0.005264, allocations: 20.47 kB / 0.8171 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.005266, allocations: 0 / 0.8171 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.785e-05/0.005334, allocations: 51.14 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.005344, allocations: 4 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.005348, allocations: 0 / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.00536, allocations: 8.766 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.005421, allocations: 9.281 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.005423, allocations: 0 / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.005452, allocations: 11.98 kB / 0.8172 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.005457, allocations: 4.656 kB / 0.8172 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 5.771e-05/0.005515, allocations: 156.5 kB / 0.8173 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.005533, allocations: 4.875 kB / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.005556, allocations: 4.875 kB / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.005559, allocations: 7.922 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.00556, allocations: 0 / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.005564, allocations: 5.031 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.757e-05/0.005652, allocations: 101.2 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.005652, allocations: 0 / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.005685, allocations: 11.3 kB / 0.8174 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.005686, allocations: 0 / 0.8174 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.005692, allocations: 7.984 kB / 0.8175 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.005693, allocations: 0 / 0.8175 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.005693, allocations: 0 / 0.8175 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.005795, allocations: 199.9 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-06/0.0058, allocations: 3.953 kB / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.005812, allocations: 8.484 kB / 0.8177 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.098e-05/0.005853, allocations: 5.281 kB / 0.8177 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.005875, allocations: 7.938 kB / 0.8177 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.00588, allocations: 7.922 kB / 0.8177 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.016e-05/0.00591, allocations: 123.2 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.00591, allocations: 1.094 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001529/0.006063, allocations: 15.94 kB / 0.8178 GB, free: 12.1 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.0001068/0.00617, allocations: 110.2 kB / 0.8179 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.638e-05/0.006247, allocations: 27.67 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.31e-07/0.006247, allocations: 0 / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.006274, allocations: 19.67 kB / 0.818 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.006446, allocations: 14.97 kB / 0.818 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.006803, allocations: 125.1 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.095e-05/0.006833, allocations: 59.16 kB / 0.8181 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.774e-05/0.006881, allocations: 13.42 kB / 0.8182 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.006941, allocations: 78.91 kB / 0.8182 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.006942, allocations: 0 / 0.8182 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.00262/0.009562, allocations: 1.057 MB / 0.8193 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.094204609747976]