Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.0009903/0.0009903, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009775/0.0009775, allocations: 161 kB / 23.82 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.9592/0.9592, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.872/1.872, 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.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 3.938 kB / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.538e-05, allocations: 3.078 kB / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001898/0.001914, allocations: 1.728 MB / 0.8132 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005409/0.002455, allocations: 410.4 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.00252, allocations: 4 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.751e-05/0.002618, allocations: 15.8 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.065e-05/0.002659, allocations: 24.31 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.002988, allocations: 113.3 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.003109, allocations: 104.1 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.003218, allocations: 37.28 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.00329, allocations: 59.83 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.003348, allocations: 31.89 kB / 0.814 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.003369, allocations: 8 kB / 0.814 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.269e-05/0.003462, allocations: 57.11 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.003487, allocations: 27.89 kB / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.003519, allocations: 27.92 kB / 0.8141 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.003697, allocations: 120.5 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.003698, allocations: 0 / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.473e-06/0.0037, allocations: 4 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.003704, allocations: 0.9062 kB / 0.8142 GB, free: 15.04 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004272/0.004131, allocations: 441.1 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.004164, allocations: 12.03 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.004335, allocations: 42.12 kB / 0.8147 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.004492, allocations: 148.4 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.004545, allocations: 59.06 kB / 0.8149 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.004562, allocations: 8.375 kB / 0.8149 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.004723, allocations: 124.5 kB / 0.815 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.00473, allocations: 192 / 0.815 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.004743, allocations: 4.375 kB / 0.815 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.004752, allocations: 8.125 kB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.647e-05/0.004828, allocations: 39.91 kB / 0.815 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.005245, allocations: 353.9 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.005524, allocations: 103.1 kB / 0.8155 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.005562, allocations: 29.47 kB / 0.8155 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.005571, allocations: 3.984 kB / 0.8155 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.005594, allocations: 37.39 kB / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.005595, allocations: 0 / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001667/0.005761, allocations: 82.62 kB / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.005783, allocations: 51.41 kB / 0.8157 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.385e-05/0.005867, allocations: 177.9 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.005881, allocations: 30.23 kB / 0.8159 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.005929, allocations: 147.6 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.005947, allocations: 23.8 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.005978, allocations: 23.38 kB / 0.8161 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.00608, allocations: 0.497 MB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-05/0.006101, allocations: 4 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.358e-05/0.006135, allocations: 36.95 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/0.006194, allocations: 55.44 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.006197, allocations: 4.828 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.52e-05/0.006282, allocations: 77.53 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.006294, allocations: 8.922 kB / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006298, allocations: 0 / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.006315, allocations: 8 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.485e-05/0.006369, allocations: 17.5 kB / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.006374, allocations: 0 / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.006404, allocations: 11.92 kB / 0.8168 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.006408, allocations: 1.25 kB / 0.8168 GB, free: 12.18 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.598e-05/0.006474, allocations: 164.5 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.006495, allocations: 11.94 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.00652, allocations: 17.47 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006522, allocations: 0 / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.006524, allocations: 0 / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.006526, allocations: 1.125 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.006637, allocations: 144.5 kB / 0.8171 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006638, allocations: 0 / 0.8171 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/0.006676, allocations: 21.08 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.006677, allocations: 0 / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.006685, allocations: 4 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.006685, allocations: 0.5 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006686, allocations: 1.156 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.006809, allocations: 219.9 kB / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.006817, allocations: 3.953 kB / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.006828, allocations: 5.031 kB / 0.8173 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.93e-05/0.006887, allocations: 11.98 kB / 0.8173 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.00692, allocations: 3.984 kB / 0.8173 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.006927, allocations: 5.344 kB / 0.8173 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.006968, allocations: 137 kB / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006968, allocations: 0 / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001562/0.007124, allocations: 25.05 kB / 0.8175 GB, free: 11.37 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 (7): * Single equations (assignments): 7 * 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 6.576e-05/0.00719, allocations: 103.2 kB / 0.8176 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.53e-05/0.007285, allocations: 40.33 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007287, allocations: 2.531 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.224e-05/0.007319, allocations: 31.61 kB / 0.8177 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.007534, allocations: 27.84 kB / 0.8177 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.008014, allocations: 209.8 kB / 0.8179 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.264e-05/0.008047, allocations: 63.34 kB / 0.818 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.669e-05/0.008083, allocations: 6.062 kB / 0.818 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.008117, allocations: 12.5 kB / 0.818 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.008118, allocations: 1.25 kB / 0.818 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of Templates: time 0.002789/0.01091, allocations: 1.369 MB / 0.8193 GB, free: 9.5 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.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.1140737142413855]