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.0009369/0.0009369, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009559/0.0009559, allocations: 173 kB / 24.28 MB, free: 276 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.9591/0.9591, allocations: 177.2 MB / 204.6 MB, free: 5.645 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.851/1.851, allocations: 377.9 MB / 0.6239 GB, free: 8.547 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.633e-06/1.633e-06, allocations: 0 / 0.8115 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.427e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002117/0.002141, allocations: 1.721 MB / 0.8132 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005775/0.002719, allocations: 405 kB / 0.8136 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.927e-05/0.002788, allocations: 5.531 kB / 0.8136 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.002908, allocations: 11.92 kB / 0.8136 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.451e-05/0.002953, allocations: 23.67 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.003323, allocations: 114.8 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.00346, allocations: 111.5 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.003573, allocations: 31.92 kB / 0.8139 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.186e-05/0.003655, allocations: 63.86 kB / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.302e-05/0.003708, allocations: 28.62 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.003727, allocations: 8 kB / 0.814 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.757e-05/0.003825, allocations: 60.47 kB / 0.814 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.003849, allocations: 19.92 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.003883, allocations: 33.53 kB / 0.8141 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.004072, allocations: 119.6 kB / 0.8142 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004074, allocations: 0 / 0.8142 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004075, allocations: 0 / 0.8142 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.00408, allocations: 0.625 kB / 0.8142 GB, free: 15.4 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.0004248/0.004505, allocations: 448.7 kB / 0.8146 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.004541, allocations: 12.03 kB / 0.8146 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.004732, allocations: 42.39 kB / 0.8147 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.004899, allocations: 144.4 kB / 0.8148 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.004956, allocations: 57.34 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.00497, allocations: 8.375 kB / 0.8149 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.005135, allocations: 120.5 kB / 0.815 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.005142, allocations: 1.938 kB / 0.815 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.005157, allocations: 12.3 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.005167, allocations: 8.125 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-05/0.005247, allocations: 31.98 kB / 0.815 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.005676, allocations: 358.4 kB / 0.8154 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.005953, allocations: 107.1 kB / 0.8155 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/0.005991, allocations: 23.69 kB / 0.8155 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.006001, allocations: 5.359 kB / 0.8155 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.006024, allocations: 41.38 kB / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.006026, allocations: 0 / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000184/0.00621, allocations: 81.62 kB / 0.8156 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.006237, allocations: 52.03 kB / 0.8157 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/0.00632, allocations: 177.9 kB / 0.8158 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.006334, allocations: 30.2 kB / 0.8159 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.006383, allocations: 143.4 kB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.006403, allocations: 32.64 kB / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.006435, allocations: 23.38 kB / 0.8161 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.006539, allocations: 0.4934 MB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.006563, allocations: 8 kB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.678e-05/0.0066, allocations: 35.36 kB / 0.8166 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.99e-05/0.00666, allocations: 50.34 kB / 0.8166 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006662, allocations: 0 / 0.8166 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.817e-05/0.00676, allocations: 89.5 kB / 0.8167 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.006772, allocations: 6.969 kB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.006776, allocations: 0 / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.00679, allocations: 4 kB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.85e-05/0.006849, allocations: 16.52 kB / 0.8167 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.006854, allocations: 0.8125 kB / 0.8167 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.006884, allocations: 11.94 kB / 0.8167 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.00689, allocations: 0.9375 kB / 0.8167 GB, free: 12.54 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.851e-05/0.006958, allocations: 164.5 kB / 0.8169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.00698, allocations: 13.16 kB / 0.8169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.007008, allocations: 12.44 kB / 0.8169 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.007012, allocations: 4 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.007015, allocations: 0.8438 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.007018, allocations: 0 / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.007143, allocations: 148.5 kB / 0.8171 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007144, allocations: 2.219 kB / 0.8171 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.007181, allocations: 11.94 kB / 0.8171 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.007183, allocations: 7.984 kB / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.007192, allocations: 4 kB / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.007193, allocations: 0 / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007193, allocations: 0.7188 kB / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.00732, allocations: 219.8 kB / 0.8173 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-06/0.007327, allocations: 3.938 kB / 0.8173 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.007339, allocations: 4 kB / 0.8173 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.209e-05/0.007401, allocations: 11.98 kB / 0.8173 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.007436, allocations: 0 / 0.8173 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.007445, allocations: 7.984 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.402e-05/0.007489, allocations: 139.1 kB / 0.8175 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007489, allocations: 0 / 0.8175 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001603/0.007649, allocations: 19.95 kB / 0.8175 GB, free: 11.73 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 9.082e-05/0.00774, allocations: 99.25 kB / 0.8176 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.007851, allocations: 48.91 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.007853, allocations: 0 / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.139e-05/0.007884, allocations: 27.61 kB / 0.8177 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.008125, allocations: 35.91 kB / 0.8177 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.008648, allocations: 205.7 kB / 0.8179 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.601e-05/0.008684, allocations: 64.38 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.313e-05/0.008727, allocations: 10.45 kB / 0.818 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.008761, allocations: 12.5 kB / 0.818 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of SimCode: time 9.32e-07/0.008762, allocations: 1.188 kB / 0.818 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.002884/0.01165, allocations: 1.36 MB / 0.8193 GB, free: 9.859 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.059277890017256]