Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009991/0.0009991, allocations: 83.69 kB / 20.45 MB, free: 4.125 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.001009/0.001009, allocations: 169 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.924/0.924, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.793/1.793, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.271e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002736/0.002759, allocations: 1.561 MB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00029/0.003049, allocations: 136.3 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.003091, allocations: 0.75 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.003123, allocations: 3.938 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.003181, allocations: 8.484 kB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.003456, allocations: 65.03 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.003557, allocations: 63.83 kB / 0.7889 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.003655, allocations: 13.42 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.833e-05/0.003723, allocations: 27.98 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.974e-05/0.003773, allocations: 27.89 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.003797, allocations: 5.219 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.003808, allocations: 4 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.003828, allocations: 11.98 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.003857, allocations: 27.91 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.003957, allocations: 44.45 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003959, allocations: 1.406 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.00396, allocations: 0 / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.003965, allocations: 0 / 0.789 GB, free: 10.53 MB / 0.7448 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.0004039/0.004369, allocations: 393.4 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.004405, allocations: 8.031 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.004448, allocations: 8.938 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.669e-05/0.004535, allocations: 117.4 kB / 0.7895 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.012e-05/0.004605, allocations: 59.97 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.00462, allocations: 5.406 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.004763, allocations: 100.6 kB / 0.7897 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.00477, allocations: 0.7188 kB / 0.7897 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.004783, allocations: 4.375 kB / 0.7897 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.004792, allocations: 5.781 kB / 0.7897 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.018e-05/0.004832, allocations: 15.92 kB / 0.7897 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.005216, allocations: 293.3 kB / 0.79 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.694e-05/0.005273, allocations: 43.03 kB / 0.79 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/0.005301, allocations: 19.62 kB / 0.79 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.005309, allocations: 3.938 kB / 0.79 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.005335, allocations: 38.61 kB / 0.7901 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.005336, allocations: 0 / 0.7901 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001409/0.005477, allocations: 49.78 kB / 0.7901 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.0055, allocations: 54.44 kB / 0.7902 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.005579, allocations: 177.9 kB / 0.7904 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.00559, allocations: 25.7 kB / 0.7904 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.005638, allocations: 138.8 kB / 0.7905 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.005652, allocations: 19.91 kB / 0.7905 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.00568, allocations: 23.38 kB / 0.7905 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.005788, allocations: 496.1 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.005806, allocations: 11.94 kB / 0.791 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.662e-05/0.005833, allocations: 24.09 kB / 0.7911 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.085e-05/0.005874, allocations: 32.02 kB / 0.7911 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.005876, allocations: 4 kB / 0.7911 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.721e-05/0.005943, allocations: 66.94 kB / 0.7912 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.005954, allocations: 4 kB / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.005959, allocations: 4 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.005974, allocations: 5.094 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.686e-05/0.006041, allocations: 8 kB / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.006047, allocations: 0 / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.006068, allocations: 5.062 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.006073, allocations: 3.984 kB / 0.7912 GB, free: 8.082 MB / 0.7448 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.116e-05/0.006134, allocations: 158.3 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.006155, allocations: 19.83 kB / 0.7914 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.006176, allocations: 4 kB / 0.7914 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.006178, allocations: 0 / 0.7914 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.006181, allocations: 1.188 kB / 0.7914 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.006184, allocations: 0 / 0.7914 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.714e-05/0.006281, allocations: 124.6 kB / 0.7915 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.006281, allocations: 0 / 0.7915 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.006306, allocations: 12.48 kB / 0.7915 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.006308, allocations: 4.5 kB / 0.7915 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.006314, allocations: 1.5 kB / 0.7915 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.006315, allocations: 4 kB / 0.7915 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006315, allocations: 0 / 0.7915 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.867e-05/0.006414, allocations: 195.9 kB / 0.7917 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-06/0.006419, allocations: 0.5312 kB / 0.7917 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.006429, allocations: 11.94 kB / 0.7917 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.006477, allocations: 9.953 kB / 0.7917 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.006507, allocations: 3.938 kB / 0.7917 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.006515, allocations: 7.984 kB / 0.7917 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.929e-05/0.006554, allocations: 127.2 kB / 0.7918 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006554, allocations: 0.9062 kB / 0.7918 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001488/0.006703, allocations: 11.94 kB / 0.7919 GB, free: 7.34 MB / 0.7448 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 6.82e-05/0.006771, allocations: 100.4 kB / 0.7919 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.239e-05/0.006854, allocations: 27.67 kB / 0.792 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.006855, allocations: 0.5312 kB / 0.792 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.297e-05/0.006878, allocations: 24.89 kB / 0.792 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.007058, allocations: 9.891 kB / 0.792 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.007319, allocations: 146.9 kB / 0.7921 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.393e-05/0.007353, allocations: 56.3 kB / 0.7922 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.781e-05/0.007381, allocations: 13.27 kB / 0.7922 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.007407, allocations: 8.5 kB / 0.7922 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.007408, allocations: 0.875 kB / 0.7922 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of Templates: time 0.002284/0.009691, allocations: 0.8643 MB / 0.7931 GB, free: 6.07 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.013574374374002]