Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.951/1.951, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 177.3 kB / 487 MB, free: 5.336 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 221.3 MB / 0.7819 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 86.12 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.805e-06/7.835e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2715, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6891/0.9607, allocations: 149.2 MB / 1.351 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.961, allocations: 71.28 kB / 1.351 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.006476/0.9675, allocations: 2.072 MB / 1.353 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.9675, allocations: 2 kB / 1.353 GB, free: 15.66 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.0003533/0.9679, allocations: 361.9 kB / 1.353 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.9679, allocations: 8.219 kB / 1.353 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.9679, allocations: 3.281 kB / 1.353 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.262e-05/0.968, allocations: 182.4 kB / 1.354 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.737e-05/0.9681, allocations: 36.23 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.9681, allocations: 2.188 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.779e-05/0.9682, allocations: 19.91 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.116e-05/0.9683, allocations: 48.14 kB / 1.354 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.9683, allocations: 0 / 1.354 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.9684, allocations: 1 kB / 1.354 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9684, allocations: 4.562 kB / 1.354 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.9688, allocations: 286.2 kB / 1.354 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.748e-05/0.9689, allocations: 35.7 kB / 1.354 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.9689, allocations: 20.55 kB / 1.354 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.969, allocations: 0.7188 kB / 1.354 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.969, allocations: 31.16 kB / 1.354 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.969, allocations: 0.6875 kB / 1.354 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001473/0.9691, allocations: 53.64 kB / 1.354 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.9692, allocations: 52.88 kB / 1.354 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.733e-05/0.9692, allocations: 98.44 kB / 1.354 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.9693, allocations: 29.64 kB / 1.354 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.9693, allocations: 91.88 kB / 1.354 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.9693, allocations: 14.83 kB / 1.354 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.9693, allocations: 0 / 1.354 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.724e-05/0.9694, allocations: 317.3 kB / 1.355 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.9694, allocations: 9.375 kB / 1.355 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.9694, allocations: 25.5 kB / 1.355 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.533e-05/0.9695, allocations: 9.453 kB / 1.355 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9695, allocations: 4.969 kB / 1.355 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.762e-05/0.9696, allocations: 60.97 kB / 1.355 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.9696, allocations: 9.281 kB / 1.355 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.9696, allocations: 0.9688 kB / 1.355 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.9696, allocations: 2.453 kB / 1.355 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.9697, allocations: 15.64 kB / 1.355 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.9697, allocations: 1.031 kB / 1.355 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.508e-05/0.9698, allocations: 17.08 kB / 1.355 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.9698, allocations: 1 kB / 1.355 GB, free: 14.01 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 () * 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 4.824e-05/0.9699, allocations: 104.5 kB / 1.355 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.9699, allocations: 5.938 kB / 1.355 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.9699, allocations: 8.844 kB / 1.355 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.97, allocations: 0.8906 kB / 1.355 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.97, allocations: 4.875 kB / 1.355 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.97, allocations: 4.094 kB / 1.355 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.9701, allocations: 153.1 kB / 1.355 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.9701, allocations: 1.406 kB / 1.355 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-05/0.9702, allocations: 18 kB / 1.355 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.9702, allocations: 0.6875 kB / 1.355 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.9702, allocations: 1.312 kB / 1.355 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.9702, allocations: 0 / 1.355 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9702, allocations: 3.938 kB / 1.355 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001001/0.9703, allocations: 152.5 kB / 1.355 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.9703, allocations: 80.25 kB / 1.355 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.9704, allocations: 0 / 1.355 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.9705, allocations: 23.34 kB / 1.355 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.9706, allocations: 7.172 kB / 1.355 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.9706, allocations: 2.281 kB / 1.355 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.505e-05/0.9706, allocations: 85.14 kB / 1.355 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002125/0.9708, allocations: 12.31 kB / 1.355 GB, free: 13.4 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 () * 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 9.166e-05/0.9709, allocations: 97.05 kB / 1.356 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.9711, allocations: 27.55 kB / 1.356 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9711, allocations: 0.6875 kB / 1.356 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.894e-05/0.9711, allocations: 16.03 kB / 1.356 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.9713, allocations: 3.453 kB / 1.356 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.9715, allocations: 85.11 kB / 1.356 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.9718, allocations: 0.6953 MB / 1.356 GB, free: 28.53 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.9718, allocations: 0.6875 kB / 1.356 GB, free: 28.53 MB / 0.823 GB Notification: Performance of Templates: time 0.002718/0.9745, allocations: 0.7545 MB / 1.357 GB, free: 28.46 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches