Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.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.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi_BuiLib.TWetBul|wetBulPhi.TWetBul|phi.y|add.y|wetBulXi.TWetBul|add1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi_BuiLib.TWetBul|wetBulPhi.TWetBul|phi.y|add.y|wetBulXi.TWetBul|add1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi") [: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.343/1.343, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.001167/0.001167, allocations: 185.1 kB / 316 MB, free: 3.539 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.537/1.537, allocations: 205.1 MB / 0.5667 GB, free: 15.67 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.001284/0.001284, allocations: 90.83 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.015e-05/1.018e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2331, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.065/4.298, allocations: 2.192 GB / 3.077 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/4.299, allocations: 83.95 kB / 3.077 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.1405/4.439, allocations: 76.5 MB / 3.151 GB, free: 49.12 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.592e-05/4.439, allocations: 7.984 kB / 3.151 GB, free: 49.11 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008429/4.44, allocations: 490.4 kB / 3.152 GB, free: 48.59 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/4.44, allocations: 8.031 kB / 3.152 GB, free: 48.58 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008844/4.441, allocations: 95.53 kB / 3.152 GB, free: 48.48 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/4.441, allocations: 222.7 kB / 3.152 GB, free: 48.23 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/4.441, allocations: 8 kB / 3.152 GB, free: 48.22 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/4.441, allocations: 12 kB / 3.152 GB, free: 48.21 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002688/4.442, allocations: 128.6 kB / 3.152 GB, free: 48.08 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/4.442, allocations: 213.2 kB / 3.153 GB, free: 47.85 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/4.442, allocations: 0 / 3.153 GB, free: 47.85 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/4.442, allocations: 3.906 kB / 3.153 GB, free: 47.84 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/4.442, allocations: 8 kB / 3.153 GB, free: 47.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/4.443, allocations: 0.9823 MB / 3.154 GB, free: 46.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/4.444, allocations: 138.5 kB / 3.154 GB, free: 46.65 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.137e-05/4.444, allocations: 52.89 kB / 3.154 GB, free: 46.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/4.444, allocations: 8 kB / 3.154 GB, free: 46.59 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/4.444, allocations: 38.56 kB / 3.154 GB, free: 46.54 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/4.444, allocations: 0 / 3.154 GB, free: 46.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0003286/4.444, allocations: 137.5 kB / 3.154 GB, free: 46.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.865e-05/4.444, allocations: 55.31 kB / 3.154 GB, free: 46.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/4.444, allocations: 146.4 kB / 3.154 GB, free: 46.18 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/4.444, allocations: 25.7 kB / 3.154 GB, free: 46.15 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/4.444, allocations: 139.9 kB / 3.154 GB, free: 46.01 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/4.444, allocations: 39.47 kB / 3.154 GB, free: 45.97 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/4.444, allocations: 224 / 3.154 GB, free: 45.97 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.927e-05/4.445, allocations: 326.8 kB / 3.155 GB, free: 45.64 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-05/4.445, allocations: 51.92 kB / 3.155 GB, free: 45.59 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/4.445, allocations: 98.84 kB / 3.155 GB, free: 45.47 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/4.445, allocations: 71.88 kB / 3.155 GB, free: 45.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/4.445, allocations: 0 / 3.155 GB, free: 45.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003174/4.445, allocations: 188.9 kB / 3.155 GB, free: 45.21 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/4.445, allocations: 7.984 kB / 3.155 GB, free: 45.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/4.445, allocations: 160 / 3.155 GB, free: 45.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/4.445, allocations: 8 kB / 3.155 GB, free: 45.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/4.446, allocations: 51.89 kB / 3.155 GB, free: 45.15 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/4.446, allocations: 7.984 kB / 3.155 GB, free: 45.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/4.446, allocations: 35.73 kB / 3.155 GB, free: 45.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/4.446, allocations: 15.98 kB / 3.155 GB, free: 45.09 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.995e-05/4.446, allocations: 104.9 kB / 3.155 GB, free: 44.98 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/4.446, allocations: 15.81 kB / 3.155 GB, free: 44.96 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004485/4.447, allocations: 237 kB / 3.155 GB, free: 44.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/4.447, allocations: 11.92 kB / 3.155 GB, free: 44.72 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/4.447, allocations: 0 / 3.155 GB, free: 44.72 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/4.447, allocations: 0 / 3.155 GB, free: 44.72 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/4.447, allocations: 253.9 kB / 3.156 GB, free: 44.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/4.447, allocations: 0 / 3.156 GB, free: 44.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/4.447, allocations: 59.91 kB / 3.156 GB, free: 44.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/4.447, allocations: 0 / 3.156 GB, free: 44.38 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/4.447, allocations: 7.984 kB / 3.156 GB, free: 44.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/4.447, allocations: 0 / 3.156 GB, free: 44.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/4.447, allocations: 0 / 3.156 GB, free: 44.37 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003041/4.448, allocations: 289.6 kB / 3.156 GB, free: 44.07 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/4.448, allocations: 104.8 kB / 3.156 GB, free: 43.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/4.448, allocations: 0 / 3.156 GB, free: 43.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/4.448, allocations: 15.98 kB / 3.156 GB, free: 43.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/4.448, allocations: 23.91 kB / 3.156 GB, free: 43.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/4.448, allocations: 4 kB / 3.156 GB, free: 43.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.254e-05/4.448, allocations: 120.9 kB / 3.156 GB, free: 43.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004403/4.449, allocations: 95.81 kB / 3.156 GB, free: 43.7 MB / 0.8542 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 (23): * Single equations (assignments): 23 * 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.0008611/4.449, allocations: 0.7822 MB / 3.157 GB, free: 42.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002804/4.45, allocations: 151.9 kB / 3.157 GB, free: 42.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/4.45, allocations: 0 / 3.157 GB, free: 42.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/4.45, allocations: 91.86 kB / 3.157 GB, free: 42.68 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/4.45, allocations: 23.97 kB / 3.157 GB, free: 42.65 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/4.451, allocations: 252.8 kB / 3.158 GB, free: 42.38 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/4.451, allocations: 0.7708 MB / 3.158 GB, free: 41.58 MB / 0.8542 GB Notification: Performance of SimCode: time 2.8e-07/4.451, allocations: 0 / 3.158 GB, free: 41.58 MB / 0.8542 GB Notification: Performance of Templates: time 0.01087/4.462, allocations: 7.327 MB / 3.166 GB, free: 34.27 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_TWetBul_TDryBulPhi.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches