Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 249.3 MB / 261.9 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001461, allocations: 176.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009232/0.0009231, allocations: 92.23 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.51e-05/4.566e-05, allocations: 4 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2589, allocations: 106.3 MB / 0.8918 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.894/1.153, allocations: 132.4 MB / 1.021 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/1.153, allocations: 82.14 kB / 1.021 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006895/1.16, allocations: 2.383 MB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.695e-06/1.16, allocations: 0 / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.806e-06/1.16, allocations: 0 / 1.023 GB, free: 304 kB / 0.6355 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.0004667/1.161, allocations: 357.7 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/1.161, allocations: 12.03 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/1.161, allocations: 7.906 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/1.161, allocations: 171 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-05/1.161, allocations: 32.89 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/1.161, allocations: 4 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/1.161, allocations: 55.31 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/1.161, allocations: 0 / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/1.161, allocations: 0 / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.161, allocations: 0 / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.766e-05/1.161, allocations: 30.8 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/1.162, allocations: 317.2 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.688e-05/1.162, allocations: 33.89 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/1.162, allocations: 16.73 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/1.162, allocations: 4 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/1.162, allocations: 38.5 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/1.162, allocations: 3.938 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0001716/1.162, allocations: 57.16 kB / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/1.162, allocations: 55.36 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/1.163, allocations: 100.5 kB / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/1.163, allocations: 25.7 kB / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/1.163, allocations: 99.41 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/1.163, allocations: 11.75 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/1.163, allocations: 3.312 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.163, allocations: 318.8 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/1.163, allocations: 7.062 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.799e-05/1.163, allocations: 28.53 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/1.163, allocations: 15.06 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.163, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.333e-05/1.163, allocations: 60.69 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.163, allocations: 4 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.163, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/1.163, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/1.163, allocations: 23.92 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/1.163, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/1.163, allocations: 15.62 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/1.163, allocations: 8.344 kB / 1.025 GB, free: 14.29 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/1.163, allocations: 101 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/1.163, allocations: 8 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/1.164, allocations: 11.2 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.164, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/1.164, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/1.164, allocations: 4 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/1.164, allocations: 176.3 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.164, allocations: 0 / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.577e-05/1.164, allocations: 19.98 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.164, allocations: 0 / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/1.164, allocations: 0 / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.164, allocations: 0 / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.164, allocations: 0 / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/1.164, allocations: 154.9 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/1.164, allocations: 83.95 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/1.164, allocations: 3.938 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/1.164, allocations: 19.98 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/1.164, allocations: 7.984 kB / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/1.164, allocations: 0 / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.002e-05/1.164, allocations: 95.12 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.164, allocations: 0 / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001944/1.165, allocations: 11.94 kB / 1.026 GB, free: 13.55 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000138/1.165, allocations: 107.1 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000108/1.165, allocations: 27.44 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.165, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.945e-05/1.165, allocations: 15.31 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/1.165, allocations: 6.25 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/1.165, allocations: 84.03 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/1.166, allocations: 0.6888 MB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.566e-05/1.166, allocations: 8.234 kB / 1.027 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/1.166, allocations: 7.438 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of SimCode: time 4.31e-07/1.166, allocations: 0 / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of Templates: time 0.002819/1.169, allocations: 0.6962 MB / 1.028 GB, free: 11.89 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches