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.001188/0.001188, allocations: 82.64 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.001394/0.001394, allocations: 185 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 0.9636/0.9636, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.918/1.918, allocations: 377.9 MB / 0.624 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 177] 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.412e-06/1.412e-06, allocations: 0 / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.639e-05, allocations: 4.844 kB / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002066/0.002082, allocations: 1.707 MB / 0.8136 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0005379/0.00262, allocations: 413.4 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.433e-05/0.002685, allocations: 0 / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.177e-05/0.002776, allocations: 7.875 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.216e-05/0.002819, allocations: 29.62 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.003122, allocations: 116.3 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.003239, allocations: 112.1 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.003337, allocations: 24.64 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.046e-05/0.003417, allocations: 59.88 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.003469, allocations: 28.44 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.003493, allocations: 9.375 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.826e-05/0.003591, allocations: 71.86 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.003614, allocations: 19.92 kB / 0.8145 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.003642, allocations: 35.91 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.003803, allocations: 124.1 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003805, allocations: 1.375 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003805, allocations: 0 / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.003809, allocations: 0 / 0.8147 GB, free: 14.75 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.0003734/0.004182, allocations: 437.3 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.004218, allocations: 8.031 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.004377, allocations: 46.08 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.004516, allocations: 148.3 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.524e-05/0.004561, allocations: 65.27 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.004572, allocations: 8.375 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.004701, allocations: 112.5 kB / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-06/0.004707, allocations: 4.812 kB / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.004718, allocations: 4.375 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.004723, allocations: 5.406 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.197e-05/0.004775, allocations: 31.91 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.005348, allocations: 332.9 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.005582, allocations: 100.4 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.005607, allocations: 29.06 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.005619, allocations: 3.984 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.005639, allocations: 37.39 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.00564, allocations: 1.812 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001282/0.005768, allocations: 69.62 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.005789, allocations: 55.41 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.005862, allocations: 179.9 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.005874, allocations: 25.7 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.005923, allocations: 149.3 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.00594, allocations: 27.77 kB / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.005972, allocations: 27.38 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.006082, allocations: 0.4884 MB / 0.817 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.006096, allocations: 8 kB / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.807e-05/0.006124, allocations: 31.34 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.006173, allocations: 44.22 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006175, allocations: 0.5312 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.523e-05/0.00625, allocations: 75.56 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.006261, allocations: 10.34 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.006266, allocations: 0 / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.006275, allocations: 3.938 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.212e-05/0.006327, allocations: 15.98 kB / 0.8171 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.006329, allocations: 0.9062 kB / 0.8171 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.006357, allocations: 11.88 kB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.006366, allocations: 4.781 kB / 0.8172 GB, free: 11.97 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.889e-05/0.006435, allocations: 171.6 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.006453, allocations: 7.953 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.006476, allocations: 16.44 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.006478, allocations: 0 / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.006479, allocations: 0 / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006482, allocations: 0 / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.006585, allocations: 121.2 kB / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.006588, allocations: 4 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.515e-05/0.006623, allocations: 19.86 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.006624, allocations: 6.438 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-06/0.006628, allocations: 0 / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.8e-07/0.006628, allocations: 0 / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006629, allocations: 0 / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.006734, allocations: 211.9 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.006743, allocations: 11.89 kB / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.006753, allocations: 4.953 kB / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.307e-05/0.006806, allocations: 4 kB / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.006835, allocations: 7.984 kB / 0.8177 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.006842, allocations: 5.094 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.704e-05/0.006879, allocations: 131.2 kB / 0.8178 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006879, allocations: 0 / 0.8178 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001471/0.007026, allocations: 21.08 kB / 0.8179 GB, free: 11.2 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.95e-05/0.007095, allocations: 104.3 kB / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.418e-05/0.007169, allocations: 43.66 kB / 0.818 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.00717, allocations: 0 / 0.818 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.52e-05/0.007196, allocations: 28.61 kB / 0.818 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.007408, allocations: 29.56 kB / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.007824, allocations: 208.3 kB / 0.8183 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.499e-05/0.007859, allocations: 63.34 kB / 0.8183 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.752e-05/0.007897, allocations: 6.906 kB / 0.8183 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.007998, allocations: 102.1 kB / 0.8184 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of SimCode: time 8.61e-07/0.007999, allocations: 4.656 kB / 0.8184 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of Templates: time 0.002821/0.01082, allocations: 1.503 MB / 0.8199 GB, free: 9.098 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.125349436886609]