Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009913/0.0009913, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001037/0.001037, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.009/1.009, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.513/2.513, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.75e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002584/0.002611, allocations: 1.603 MB / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002846/0.002896, allocations: 127.5 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.002938, allocations: 4 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.002969, allocations: 11.92 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-05/0.00303, allocations: 7.875 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.003289, allocations: 71.83 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.003389, allocations: 59.84 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.475e-05/0.003474, allocations: 11.98 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.403e-05/0.003548, allocations: 27.97 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.959e-05/0.003598, allocations: 23.91 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.003618, allocations: 4 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.00363, allocations: 4 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.003653, allocations: 23.97 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.003675, allocations: 15.94 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.833e-05/0.003773, allocations: 51.8 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003775, allocations: 0 / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.61e-07/0.003776, allocations: 0 / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.003781, allocations: 0 / 0.8406 GB, free: 12.14 MB / 0.8073 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.0003185/0.004099, allocations: 264.5 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.004131, allocations: 8.625 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.004161, allocations: 4.938 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.358e-05/0.004254, allocations: 113.7 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/0.004313, allocations: 63.95 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.004325, allocations: 8.375 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.004445, allocations: 96.56 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.004452, allocations: 192 / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.004461, allocations: 4.375 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.004468, allocations: 4.125 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.102e-05/0.004499, allocations: 15.97 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.004802, allocations: 180.2 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.963e-05/0.004851, allocations: 34.58 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.00487, allocations: 12.86 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.004877, allocations: 0 / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.004901, allocations: 38.64 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.004904, allocations: 3.984 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001202/0.005024, allocations: 53.56 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.005048, allocations: 51.41 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.91e-05/0.005117, allocations: 114.7 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.005138, allocations: 25.7 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.005194, allocations: 80.14 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.005221, allocations: 27.83 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.005265, allocations: 17.7 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.005377, allocations: 314.8 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.005402, allocations: 4 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.054e-05/0.005432, allocations: 21.7 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.853e-05/0.005481, allocations: 21.72 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.005484, allocations: 3.938 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.315e-05/0.005577, allocations: 53.61 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.005591, allocations: 7.938 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.005596, allocations: 0 / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.005609, allocations: 4.031 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.629e-05/0.005676, allocations: 12 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.005678, allocations: 3.938 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.0057, allocations: 7.984 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.005704, allocations: 0 / 0.8422 GB, free: 10.31 MB / 0.8073 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 0.0003306/0.006035, allocations: 109.8 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.006053, allocations: 4 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.006074, allocations: 11.94 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.006076, allocations: 4 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.006078, allocations: 4 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.006082, allocations: 0 / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.026e-05/0.006173, allocations: 77.83 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006174, allocations: 128 / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.006202, allocations: 15.98 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006203, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.006207, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.006208, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.00621, allocations: 7.938 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.379e-05/0.006294, allocations: 135.5 kB / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-06/0.006301, allocations: 4 kB / 0.8426 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-06/0.006308, allocations: 4 kB / 0.8426 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.17e-05/0.006359, allocations: 11.98 kB / 0.8426 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.006385, allocations: 3.938 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.006392, allocations: 3.984 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.298e-05/0.006405, allocations: 16.84 kB / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006405, allocations: 0 / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001246/0.00653, allocations: 11.94 kB / 0.8426 GB, free: 9.852 MB / 0.8073 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 8.565e-05/0.006615, allocations: 84.41 kB / 0.8427 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.123e-05/0.006677, allocations: 20.8 kB / 0.8427 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.00668, allocations: 4.062 kB / 0.8427 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-05/0.006696, allocations: 13.23 kB / 0.8427 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.006844, allocations: 15.92 kB / 0.8427 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/0.007082, allocations: 132.5 kB / 0.8429 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.108e-05/0.007113, allocations: 55.36 kB / 0.8429 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.947e-05/0.007142, allocations: 11.98 kB / 0.8429 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.007222, allocations: 63.34 kB / 0.843 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.007223, allocations: 0 / 0.843 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of Templates: time 0.002319/0.009541, allocations: 0.8892 MB / 0.8439 GB, free: 8.52 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.391202257946134]