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.0009641/0.0009641, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001/0.001, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9505/0.9505, allocations: 177.1 MB / 204.2 MB, free: 5.289 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.844/1.844, allocations: 377.9 MB / 0.6236 GB, free: 8.52 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.703e-06/1.703e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.742e-05, allocations: 4.219 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002594/0.002622, allocations: 1.46 MB / 0.813 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009842/0.003606, allocations: 0.5985 MB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.775e-05/0.003624, allocations: 5.438 kB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.003646, allocations: 0 / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.003681, allocations: 7.938 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.003949, allocations: 97.03 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.737e-05/0.003997, allocations: 31.86 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.004045, allocations: 5.297 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.333e-05/0.004079, allocations: 15.98 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.766e-05/0.004106, allocations: 11.94 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.004115, allocations: 0 / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.004278, allocations: 136.3 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.004289, allocations: 9.172 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.435e-05/0.004303, allocations: 7.938 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.00445, allocations: 115.7 kB / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004454, allocations: 0.7188 kB / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.004455, allocations: 0 / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.004458, allocations: 1.438 kB / 0.814 GB, free: 15.26 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.0002906/0.004749, allocations: 392.3 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.004776, allocations: 8.031 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.005034, allocations: 26.56 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.589e-05/0.0051, allocations: 112.6 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.005108, allocations: 1.125 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.005117, allocations: 4.375 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.005238, allocations: 68.89 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.005244, allocations: 192 / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.005251, allocations: 384 / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.005256, allocations: 4.312 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.897e-05/0.005295, allocations: 21.73 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.005541, allocations: 267.7 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.854e-05/0.00561, allocations: 49.36 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.005633, allocations: 15.73 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.005644, allocations: 0 / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.005662, allocations: 41.33 kB / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.005663, allocations: 0 / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001425/0.005805, allocations: 61.06 kB / 0.815 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.00583, allocations: 55.39 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.459e-05/0.005885, allocations: 157.9 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.005896, allocations: 25.7 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.005929, allocations: 130.9 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.005943, allocations: 7.953 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.00597, allocations: 23.36 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.006067, allocations: 492.9 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/0.006086, allocations: 7.984 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.889e-05/0.006105, allocations: 12.5 kB / 0.8159 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.968e-05/0.006145, allocations: 32.73 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.006146, allocations: 1.281 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.586e-05/0.006212, allocations: 49.64 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.006222, allocations: 8.656 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.006226, allocations: 3.938 kB / 0.816 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.006235, allocations: 0.5625 kB / 0.816 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.0063, allocations: 10.2 kB / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.006304, allocations: 7.938 kB / 0.816 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.006332, allocations: 7.984 kB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.006338, allocations: 4 kB / 0.816 GB, free: 13 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.189e-05/0.00639, allocations: 153.1 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.006406, allocations: 11.92 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.00643, allocations: 9 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.006431, allocations: 0 / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.006433, allocations: 1.344 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.006436, allocations: 0 / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.507e-05/0.006521, allocations: 120.6 kB / 0.8163 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006521, allocations: 4 kB / 0.8163 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.006553, allocations: 8.953 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.006554, allocations: 0 / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.006561, allocations: 5.203 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.006564, allocations: 7.938 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.006565, allocations: 0 / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.006665, allocations: 199.9 kB / 0.8165 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-06/0.00667, allocations: 3.953 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.006686, allocations: 7.984 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.108e-05/0.006727, allocations: 3.938 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.006747, allocations: 7.938 kB / 0.8165 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.006751, allocations: 3.984 kB / 0.8165 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.973e-05/0.006781, allocations: 123.2 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006781, allocations: 0 / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001469/0.006928, allocations: 15.94 kB / 0.8166 GB, free: 12.27 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.0001105/0.007038, allocations: 115 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.775e-05/0.007116, allocations: 28.73 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.007117, allocations: 1.062 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.497e-05/0.007142, allocations: 19.67 kB / 0.8168 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.007297, allocations: 13.03 kB / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.007636, allocations: 135.8 kB / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.999e-05/0.007666, allocations: 55.22 kB / 0.817 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.408e-05/0.00771, allocations: 16.64 kB / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.007737, allocations: 8.5 kB / 0.817 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.007737, allocations: 3.938 kB / 0.817 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of Templates: time 0.002274/0.01001, allocations: 1.025 MB / 0.818 GB, free: 10.83 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: 4.931552426889539]