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.514/1.514, allocations: 249.5 MB / 257 MB, free: 6.992 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.001081/0.001081, allocations: 180.9 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.00101/0.00101, allocations: 96.48 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.227e-05/2.221e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2623, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8234/1.086, allocations: 132.7 MB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/1.086, allocations: 78.23 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007124/1.093, allocations: 2.375 MB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/1.093, allocations: 0 / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.755e-06/1.093, allocations: 0 / 1.017 GB, free: 3.094 MB / 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.000435/1.094, allocations: 362.3 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/1.094, allocations: 12.03 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/1.094, allocations: 7.891 kB / 1.018 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/1.094, allocations: 174.9 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.25e-05/1.094, allocations: 29.7 kB / 1.018 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/1.094, allocations: 4 kB / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.661e-05/1.094, allocations: 19.75 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/1.094, allocations: 49.25 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.094, allocations: 0 / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/1.094, allocations: 7.984 kB / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.094, allocations: 4 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/1.095, allocations: 284.8 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.085e-05/1.095, allocations: 38.33 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/1.095, allocations: 16.48 kB / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/1.095, allocations: 0 / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/1.095, allocations: 35.52 kB / 1.018 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/1.095, allocations: 3.938 kB / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001774/1.095, allocations: 49.58 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/1.095, allocations: 55.34 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/1.096, allocations: 100.4 kB / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/1.096, allocations: 29.7 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/1.096, allocations: 91.73 kB / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/1.096, allocations: 15.73 kB / 1.018 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/1.096, allocations: 0 / 1.018 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.096, allocations: 322.7 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/1.096, allocations: 7.812 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/1.096, allocations: 21.59 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/1.096, allocations: 15.8 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.096, allocations: 0 / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.446e-05/1.096, allocations: 53.52 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.096, allocations: 4 kB / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.096, allocations: 3.984 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.096, allocations: 0 / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/1.096, allocations: 12 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.096, allocations: 4 kB / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/1.096, allocations: 17.2 kB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/1.096, allocations: 4 kB / 1.019 GB, free: 1.148 MB / 0.6355 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 8.043e-05/1.096, allocations: 104.9 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/1.096, allocations: 7.906 kB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.441e-05/1.096, allocations: 8.422 kB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/1.096, allocations: 3.984 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.096, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.096, allocations: 3.938 kB / 1.019 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/1.097, allocations: 157.6 kB / 1.019 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.097, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.543e-05/1.097, allocations: 16.11 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.097, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/1.097, allocations: 4 kB / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.097, allocations: 4 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.097, allocations: 0 / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/1.097, allocations: 150.5 kB / 1.019 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/1.097, allocations: 85.02 kB / 1.019 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/1.097, allocations: 7.922 kB / 1.019 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/1.097, allocations: 15.98 kB / 1.019 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/1.097, allocations: 0 / 1.019 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/1.097, allocations: 4 kB / 1.019 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.089e-05/1.097, allocations: 87.14 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.097, allocations: 0 / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002241/1.097, allocations: 15.94 kB / 1.02 GB, free: 436 kB / 0.6355 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.0001564/1.098, allocations: 99.19 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.557e-05/1.098, allocations: 22.81 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.098, allocations: 0 / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/1.098, allocations: 11.88 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/1.098, allocations: 4 kB / 1.02 GB, free: 300 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/1.098, allocations: 91.31 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/1.099, allocations: 0.6846 MB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.003e-05/1.099, allocations: 7.984 kB / 1.02 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/1.099, allocations: 7.438 kB / 1.02 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/1.099, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of Templates: time 0.002609/1.101, allocations: 0.659 MB / 1.021 GB, free: 14.82 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