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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.145/1.145, allocations: 249.4 MB / 256.7 MB, free: 15.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009679/0.0009679, allocations: 186.5 kB / 316 MB, free: 7.227 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.192/1.192, allocations: 205.1 MB / 0.5667 GB, free: 23.61 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.0008057/0.0008058, allocations: 85.97 kB / 0.671 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 5.35e-06/5.37e-06, allocations: 0 / 0.7807 GB, free: 412 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3679, allocations: 106.3 MB / 0.8845 GB, free: 76.35 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.5047, allocations: 131.6 MB / 1.013 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.505, allocations: 75.94 kB / 1.013 GB, free: 8.449 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.006436/0.5114, allocations: 2.047 MB / 1.015 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.5115, allocations: 0 / 1.015 GB, free: 6.398 MB / 0.6667 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.0004089/0.5119, allocations: 366.3 kB / 1.016 GB, free: 5.996 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.5119, allocations: 8.031 kB / 1.016 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.512, allocations: 11.89 kB / 1.016 GB, free: 5.977 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.5121, allocations: 170.9 kB / 1.016 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-05/0.5122, allocations: 33.7 kB / 1.016 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.5122, allocations: 0 / 1.016 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.398e-05/0.5123, allocations: 20 kB / 1.016 GB, free: 5.711 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.555e-05/0.5124, allocations: 53.69 kB / 1.016 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.5124, allocations: 7.984 kB / 1.016 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.5124, allocations: 0 / 1.016 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.5125, allocations: 0 / 1.016 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.5129, allocations: 281.3 kB / 1.016 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 6.061e-05/0.513, allocations: 34.58 kB / 1.016 GB, free: 5.289 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.5131, allocations: 20.86 kB / 1.016 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.5131, allocations: 3.906 kB / 1.016 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.5131, allocations: 30.56 kB / 1.016 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.5131, allocations: 0 / 1.016 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4): time 0.0001663/0.5133, allocations: 57.7 kB / 1.016 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.5133, allocations: 55.41 kB / 1.016 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.758e-05/0.5134, allocations: 101 kB / 1.016 GB, free: 4.988 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.5134, allocations: 25.7 kB / 1.016 GB, free: 4.957 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.5135, allocations: 95.98 kB / 1.016 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.5135, allocations: 11.75 kB / 1.016 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.5135, allocations: 0 / 1.016 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5136, allocations: 322.8 kB / 1.017 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/0.5136, allocations: 8 kB / 1.017 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.5137, allocations: 25.72 kB / 1.017 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.386e-05/0.5137, allocations: 8 kB / 1.017 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.5137, allocations: 0 / 1.017 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.202e-05/0.5138, allocations: 61.53 kB / 1.017 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.5138, allocations: 4 kB / 1.017 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5138, allocations: 128 / 1.017 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5139, allocations: 0 / 1.017 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.514, allocations: 24.02 kB / 1.017 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.514, allocations: 4 kB / 1.017 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.5141, allocations: 11.98 kB / 1.017 GB, free: 4.367 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.5141, allocations: 4 kB / 1.017 GB, free: 4.363 MB / 0.6667 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.455e-05/0.5142, allocations: 110.9 kB / 1.017 GB, free: 4.25 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.5142, allocations: 4 kB / 1.017 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.5142, allocations: 8 kB / 1.017 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.5142, allocations: 0 / 1.017 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5142, allocations: 0 / 1.017 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.5142, allocations: 3.906 kB / 1.017 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.5144, allocations: 154.2 kB / 1.017 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5144, allocations: 0 / 1.017 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.902e-05/0.5145, allocations: 19.92 kB / 1.017 GB, free: 4.023 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5145, allocations: 0 / 1.017 GB, free: 4.023 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.5145, allocations: 4 kB / 1.017 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.5145, allocations: 0 / 1.017 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5145, allocations: 0 / 1.017 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001126/0.5146, allocations: 147.5 kB / 1.017 GB, free: 3.859 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.5147, allocations: 85.02 kB / 1.017 GB, free: 3.758 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.5147, allocations: 0 / 1.017 GB, free: 3.758 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.5148, allocations: 19.98 kB / 1.017 GB, free: 3.738 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.5149, allocations: 3.984 kB / 1.017 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.5149, allocations: 4 kB / 1.017 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.407e-05/0.5149, allocations: 87.58 kB / 1.018 GB, free: 3.645 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002053/0.5152, allocations: 19.78 kB / 1.018 GB, free: 3.625 MB / 0.6667 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.0001122/0.5153, allocations: 99.23 kB / 1.018 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 8.618e-05/0.5154, allocations: 31.94 kB / 1.018 GB, free: 3.488 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5154, allocations: 0 / 1.018 GB, free: 3.488 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/0.5154, allocations: 12 kB / 1.018 GB, free: 3.477 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.5156, allocations: 4 kB / 1.018 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002306/0.5158, allocations: 83.75 kB / 1.018 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.5161, allocations: 0.6993 MB / 1.018 GB, free: 2.641 MB / 0.6667 GB Notification: Performance of SimCode: time 2.31e-07/0.5161, allocations: 4.062 kB / 1.018 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of Templates: time 0.002311/0.5184, allocations: 0.7602 MB / 1.019 GB, free: 1.883 MB / 0.6667 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