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.001399/0.001399, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001531/0.001531, allocations: 161 kB / 23.82 MB, free: 0.75 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.9238/0.9238, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.835/1.835, allocations: 377.8 MB / 0.6236 GB, free: 8.527 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 9.42e-07/9.42e-07, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.492e-05, allocations: 7.016 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002178/0.002193, allocations: 1.724 MB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005523/0.002745, allocations: 417 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.0028, allocations: 0 / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.362e-05/0.002894, allocations: 11.81 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.533e-05/0.002939, allocations: 24.91 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.003264, allocations: 113.2 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.003381, allocations: 109 kB / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.088e-05/0.003472, allocations: 27.91 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.88e-05/0.003541, allocations: 59.89 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.77e-05/0.003588, allocations: 31.89 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.003607, allocations: 13.44 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.009e-05/0.003697, allocations: 59.94 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.003719, allocations: 23.91 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.003749, allocations: 27.92 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.003917, allocations: 120.7 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003919, allocations: 0 / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.72e-07/0.00392, allocations: 0 / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.003924, allocations: 0.5312 kB / 0.8142 GB, free: 15 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.0003983/0.004322, allocations: 449.5 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.004352, allocations: 8.031 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.004524, allocations: 49.48 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.004676, allocations: 140.9 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.984e-05/0.004726, allocations: 57.34 kB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.004741, allocations: 12.36 kB / 0.8149 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.004902, allocations: 120.5 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.004909, allocations: 5.344 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.00492, allocations: 384 / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.004928, allocations: 4.125 kB / 0.815 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.611e-05/0.005004, allocations: 48.78 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.005414, allocations: 348.8 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.005686, allocations: 112 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.005719, allocations: 23.69 kB / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.005728, allocations: 0.8438 kB / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.00575, allocations: 37.39 kB / 0.8156 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.005751, allocations: 1.281 kB / 0.8156 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001626/0.005914, allocations: 77.62 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.00594, allocations: 59.39 kB / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.517e-05/0.006015, allocations: 174.7 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.006027, allocations: 25.7 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.006077, allocations: 151.6 kB / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.006094, allocations: 19.8 kB / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.006132, allocations: 32.92 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.006245, allocations: 0.4883 MB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/0.006271, allocations: 15.98 kB / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.006305, allocations: 27.53 kB / 0.8166 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.191e-05/0.006367, allocations: 64.86 kB / 0.8167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006369, allocations: 0 / 0.8167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.851e-05/0.006458, allocations: 80.78 kB / 0.8167 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.006469, allocations: 8 kB / 0.8167 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006473, allocations: 3.938 kB / 0.8167 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.006485, allocations: 0 / 0.8167 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.968e-05/0.006545, allocations: 15.98 kB / 0.8168 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.00655, allocations: 4 kB / 0.8168 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.006578, allocations: 3.938 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.006585, allocations: 4 kB / 0.8168 GB, free: 12.14 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.53e-05/0.00665, allocations: 161 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.006671, allocations: 13.89 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.006692, allocations: 16.42 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.006694, allocations: 0 / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.006698, allocations: 4 kB / 0.817 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006701, allocations: 4 kB / 0.817 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.006816, allocations: 149.1 kB / 0.8171 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006817, allocations: 0 / 0.8171 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.006854, allocations: 18.38 kB / 0.8171 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.006855, allocations: 0 / 0.8171 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.006861, allocations: 0 / 0.8171 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.006862, allocations: 4 kB / 0.8171 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006863, allocations: 0 / 0.8171 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.006984, allocations: 215.9 kB / 0.8173 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.006992, allocations: 7.953 kB / 0.8173 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.007003, allocations: 7 kB / 0.8173 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.288e-05/0.007066, allocations: 4 kB / 0.8173 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.007097, allocations: 7.984 kB / 0.8174 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.007103, allocations: 0 / 0.8174 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.303e-05/0.007146, allocations: 141.3 kB / 0.8175 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007146, allocations: 0 / 0.8175 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001534/0.007299, allocations: 23.95 kB / 0.8175 GB, free: 11.32 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.728e-05/0.007367, allocations: 104.1 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.007468, allocations: 40.73 kB / 0.8176 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007469, allocations: 4 kB / 0.8177 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.948e-05/0.007499, allocations: 27.62 kB / 0.8177 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.007712, allocations: 38.09 kB / 0.8177 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.008191, allocations: 207.5 kB / 0.8179 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.514e-05/0.008226, allocations: 65 kB / 0.818 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.96e-05/0.008266, allocations: 5.594 kB / 0.818 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.008298, allocations: 13.56 kB / 0.818 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.008299, allocations: 0 / 0.818 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of Templates: time 0.002883/0.01118, allocations: 1.474 MB / 0.8194 GB, free: 9.34 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: 4.999109833966941]