Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") [: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.198/1.198, allocations: 249.4 MB / 256.7 MB, free: 6.984 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.0009161/0.0009161, allocations: 185.2 kB / 316 MB, free: 3.516 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.068/1.068, allocations: 205.1 MB / 0.5667 GB, free: 15.59 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.0008147/0.0008147, allocations: 83.27 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.592e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1506, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4256/0.5762, allocations: 133.1 MB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.5765, allocations: 78.61 kB / 1.015 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.006697/0.5832, allocations: 2.121 MB / 1.017 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.5832, allocations: 3.938 kB / 1.017 GB, free: 3.754 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002949/0.5835, allocations: 353 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5835, allocations: 12.03 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.5837, allocations: 11.97 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.5839, allocations: 167 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.5839, allocations: 7.938 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.5839, allocations: 0 / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001/0.584, allocations: 26.42 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.16e-05/0.5841, allocations: 41.06 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.5841, allocations: 0 / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.5841, allocations: 0 / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5842, allocations: 0 / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.5843, allocations: 141.4 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.411e-05/0.5844, allocations: 56.72 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.5845, allocations: 27.98 kB / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.5845, allocations: 0 / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.5845, allocations: 30.56 kB / 1.018 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.5845, allocations: 0 / 1.018 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0001487/0.5847, allocations: 61.47 kB / 1.018 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.5847, allocations: 51.41 kB / 1.018 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.266e-05/0.5848, allocations: 96.25 kB / 1.018 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.5848, allocations: 25.7 kB / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.5848, allocations: 84.14 kB / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.5849, allocations: 19.22 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.5849, allocations: 4 kB / 1.018 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.543e-05/0.585, allocations: 313.3 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.585, allocations: 11.55 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.638e-05/0.585, allocations: 11.44 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.43e-05/0.585, allocations: 7.688 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5851, allocations: 4.125 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.364e-05/0.5852, allocations: 68.59 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.5852, allocations: 8 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.5852, allocations: 3.938 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.5852, allocations: 0 / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.5853, allocations: 15.98 kB / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.5853, allocations: 0 / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/0.5854, allocations: 0 / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.5854, allocations: 10.67 kB / 1.018 GB, free: 1.996 MB / 0.6355 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 (6): * Single equations (assignments): 6 * 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 6.112e-05/0.5855, allocations: 108.9 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.5855, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.5857, allocations: 84.73 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5857, allocations: 8 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5857, allocations: 7.844 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5857, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.861e-05/0.5858, allocations: 137 kB / 1.019 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5858, allocations: 4 kB / 1.019 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.5859, allocations: 15.98 kB / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5859, allocations: 0 / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.5859, allocations: 0 / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.586, allocations: 0 / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.586, allocations: 3.906 kB / 1.019 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001063/0.5861, allocations: 103.3 kB / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.724e-05/0.5861, allocations: 84.95 kB / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.5862, allocations: 0 / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.419e-05/0.5862, allocations: 7.984 kB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.5863, allocations: 0 / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.5863, allocations: 7.812 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.314e-05/0.5863, allocations: 75.28 kB / 1.019 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001685/0.5865, allocations: 12.09 kB / 1.019 GB, free: 1.289 MB / 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 (7): * Single equations (assignments): 7 * 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.959e-05/0.5866, allocations: 95.25 kB / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.433e-05/0.5867, allocations: 34.61 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5867, allocations: 0 / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.781e-05/0.5867, allocations: 22.5 kB / 1.019 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.5868, allocations: 8.453 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/0.5871, allocations: 71.28 kB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.5874, allocations: 0.7023 MB / 1.02 GB, free: 324 kB / 0.6355 GB Notification: Performance of SimCode: time 2.71e-07/0.5874, allocations: 0 / 1.02 GB, free: 324 kB / 0.6355 GB Notification: Performance of Templates: time 0.002187/0.5896, allocations: 0.6014 MB / 1.02 GB, free: 15.76 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches