Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [: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.193/1.193, allocations: 249.4 MB / 256.7 MB, free: 6.926 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.000991/0.0009912, allocations: 185.3 kB / 316 MB, free: 3.531 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.066/1.066, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.0008424/0.0008424, allocations: 90.14 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.771e-06/5.791e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1552, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4888/0.6441, allocations: 159.1 MB / 1.04 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.6443, allocations: 77.28 kB / 1.04 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.005022/0.6494, allocations: 1.85 MB / 1.042 GB, free: 9.984 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.6494, allocations: 0 / 1.042 GB, free: 9.984 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004184/0.6498, allocations: 377.5 kB / 1.042 GB, free: 9.574 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.6499, allocations: 8.031 kB / 1.042 GB, free: 9.566 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.6499, allocations: 12.66 kB / 1.042 GB, free: 9.555 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.65, allocations: 167 kB / 1.042 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.65, allocations: 0 / 1.042 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.6501, allocations: 4 kB / 1.042 GB, free: 9.348 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.604e-05/0.6502, allocations: 30.42 kB / 1.042 GB, free: 9.328 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.132e-05/0.6503, allocations: 49 kB / 1.042 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.6503, allocations: 0 / 1.042 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.6503, allocations: 0 / 1.042 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.6503, allocations: 4 kB / 1.042 GB, free: 9.277 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.6506, allocations: 253.9 kB / 1.043 GB, free: 9.008 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 7.158e-05/0.6507, allocations: 26.2 kB / 1.043 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.6508, allocations: 19.23 kB / 1.043 GB, free: 8.961 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.651, allocations: 97.16 kB / 1.043 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.651, allocations: 38.5 kB / 1.043 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.913e-06/0.651, allocations: 0 / 1.043 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002279/0.6512, allocations: 58.55 kB / 1.043 GB, free: 8.746 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.6513, allocations: 51.41 kB / 1.043 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.967e-05/0.6513, allocations: 96.19 kB / 1.043 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.6514, allocations: 25.7 kB / 1.043 GB, free: 8.555 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.6514, allocations: 99.28 kB / 1.043 GB, free: 8.457 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.6514, allocations: 3.906 kB / 1.043 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.6514, allocations: 4 kB / 1.043 GB, free: 8.449 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.6515, allocations: 317.5 kB / 1.043 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.6516, allocations: 7.562 kB / 1.043 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.856e-05/0.6516, allocations: 7.875 kB / 1.043 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.75e-05/0.6516, allocations: 15.55 kB / 1.043 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6516, allocations: 0 / 1.043 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001049/0.6518, allocations: 60.03 kB / 1.044 GB, free: 8.055 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.6518, allocations: 4 kB / 1.044 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.6518, allocations: 0 / 1.044 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.6518, allocations: 4 kB / 1.044 GB, free: 8.047 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.6519, allocations: 23.97 kB / 1.044 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.652, allocations: 4 kB / 1.044 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.977e-05/0.6521, allocations: 23.89 kB / 1.044 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.6521, allocations: 0 / 1.044 GB, free: 7.996 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 5.658e-05/0.6521, allocations: 104.4 kB / 1.044 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.6522, allocations: 8.281 kB / 1.044 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.6523, allocations: 69.34 kB / 1.044 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6523, allocations: 7.969 kB / 1.044 GB, free: 7.805 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.6523, allocations: 4 kB / 1.044 GB, free: 7.801 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.6523, allocations: 3.938 kB / 1.044 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.6525, allocations: 149.2 kB / 1.044 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.6525, allocations: 0 / 1.044 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.6526, allocations: 19.98 kB / 1.044 GB, free: 7.602 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6526, allocations: 8 kB / 1.044 GB, free: 7.594 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.6526, allocations: 3.906 kB / 1.044 GB, free: 7.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6526, allocations: 0 / 1.044 GB, free: 7.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6526, allocations: 0 / 1.044 GB, free: 7.59 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001424/0.6528, allocations: 152.4 kB / 1.044 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.6528, allocations: 81.98 kB / 1.044 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.6528, allocations: 0 / 1.044 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.653, allocations: 19.98 kB / 1.044 GB, free: 7.316 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.653, allocations: 15.58 kB / 1.044 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.653, allocations: 0 / 1.044 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.008e-05/0.6531, allocations: 86.47 kB / 1.044 GB, free: 7.223 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002072/0.6533, allocations: 15.94 kB / 1.044 GB, free: 7.207 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 (3): * Single equations (assignments): 3 * 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.0001974/0.6535, allocations: 151.2 kB / 1.044 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 8.105e-05/0.6536, allocations: 22.48 kB / 1.044 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.6536, allocations: 0 / 1.044 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.95e-05/0.6536, allocations: 14.38 kB / 1.045 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.6538, allocations: 4 kB / 1.045 GB, free: 7.023 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.654, allocations: 79.44 kB / 1.045 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/0.6543, allocations: 0.7024 MB / 1.045 GB, free: 6.203 MB / 0.6667 GB Notification: Performance of SimCode: time 2.41e-07/0.6543, allocations: 4 kB / 1.045 GB, free: 6.199 MB / 0.6667 GB Notification: Performance of Templates: time 0.002874/0.6572, allocations: 1.023 MB / 1.046 GB, free: 5.191 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches