Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.0009818/0.0009818, 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.0009599/0.0009599, allocations: 165 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.9119/0.9119, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.78/1.78, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.705e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001905/0.001932, allocations: 1.559 MB / 0.813 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002537/0.002186, allocations: 136 kB / 0.8132 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.002223, allocations: 1.094 kB / 0.8132 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.002248, allocations: 3.938 kB / 0.8132 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.828e-05/0.002296, allocations: 7.875 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.002547, allocations: 70.89 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.461e-05/0.002631, allocations: 55.84 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.136e-05/0.002713, allocations: 15.97 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/0.00277, allocations: 35.97 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.196e-05/0.002812, allocations: 15.92 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.002832, allocations: 8 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.868e-06/0.002842, allocations: 4 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.00286, allocations: 17.25 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.002884, allocations: 23.92 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.687e-05/0.002971, allocations: 39.94 kB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.002972, allocations: 1.594 kB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.92e-07/0.002973, allocations: 3.938 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.002978, allocations: 3.984 kB / 0.8135 GB, free: 15.76 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003322/0.00331, allocations: 390.2 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.003344, allocations: 12.03 kB / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.003385, allocations: 4.938 kB / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.275e-05/0.003457, allocations: 124.5 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/0.00352, allocations: 63.91 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.003531, allocations: 1.281 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.00366, allocations: 100.6 kB / 0.8141 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.003665, allocations: 0.7188 kB / 0.8141 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.003675, allocations: 4.938 kB / 0.8141 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.003681, allocations: 4.125 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.003715, allocations: 16.52 kB / 0.8141 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.004058, allocations: 296.8 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.293e-05/0.004111, allocations: 39.05 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.004137, allocations: 21.67 kB / 0.8145 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.004145, allocations: 7.938 kB / 0.8145 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.004166, allocations: 33.39 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.004168, allocations: 0 / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001274/0.004295, allocations: 58.78 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.004321, allocations: 51.41 kB / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.395e-05/0.004394, allocations: 169.9 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.004408, allocations: 26.7 kB / 0.8148 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.004453, allocations: 138.8 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.004465, allocations: 11.84 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.004494, allocations: 28.3 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.004603, allocations: 496.1 kB / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.004621, allocations: 9 kB / 0.8155 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.004647, allocations: 23.48 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.626e-05/0.004694, allocations: 40.16 kB / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.004696, allocations: 0 / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.015e-05/0.004766, allocations: 58.47 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.00478, allocations: 8 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.004784, allocations: 1.281 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.004797, allocations: 0 / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.004863, allocations: 15.92 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.004869, allocations: 8.781 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.004888, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.004893, allocations: 5.125 kB / 0.8156 GB, free: 13.31 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 (5): * Single equations (assignments): 5 * 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.317e-05/0.004956, allocations: 152.6 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.004989, allocations: 15.89 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.00501, allocations: 5.375 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.005013, allocations: 3.984 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.005018, allocations: 4 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.005021, allocations: 1.438 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.005157, allocations: 124.7 kB / 0.8159 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.005159, allocations: 0 / 0.8159 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.005204, allocations: 8 kB / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.00521, allocations: 6.844 kB / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.005219, allocations: 0 / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.005221, allocations: 0 / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.005222, allocations: 0 / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.005342, allocations: 203.8 kB / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.005349, allocations: 4 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.005359, allocations: 7.938 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.205e-05/0.005411, allocations: 4 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.005447, allocations: 4.766 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.005453, allocations: 5.938 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.005491, allocations: 135.2 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005491, allocations: 0 / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001396/0.005631, allocations: 11.94 kB / 0.8163 GB, free: 12.57 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 (4): * Single equations (assignments): 4 * 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 7.33e-05/0.005704, allocations: 95.81 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.105e-05/0.005795, allocations: 40.25 kB / 0.8164 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.005797, allocations: 0 / 0.8164 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.005815, allocations: 14.41 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.005992, allocations: 19.92 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/0.006246, allocations: 132.8 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.283e-05/0.006279, allocations: 59.34 kB / 0.8166 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.407e-05/0.006303, allocations: 6.719 kB / 0.8166 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.00633, allocations: 12.5 kB / 0.8167 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.006331, allocations: 7.875 kB / 0.8167 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of Templates: time 0.002471/0.008803, allocations: 0.9295 MB / 0.8176 GB, free: 11.23 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.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.728747026994824]