Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.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.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhi_BuiLib.TWetBul|sub.y|phi.y|wetBulXi.TWetBul|sub1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhi_BuiLib.TWetBul|sub.y|phi.y|wetBulXi.TWetBul|sub1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.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 9.1.1-maint.9.1.x/package.mo): time 1.915/1.915, allocations: 387.2 MB / 394.5 MB, free: 13.57 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.001042/0.001042, allocations: 177.3 kB / 487 MB, free: 5.309 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.331/1.331, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.00125/0.00125, allocations: 91 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.312e-06/6.351e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2558, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.359/3.615, allocations: 1.731 GB / 2.936 GB, free: 128.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/3.615, allocations: 99.75 kB / 2.936 GB, free: 128.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1323/3.747, allocations: 75.24 MB / 3.01 GB, free: 51.75 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.397e-05/3.748, allocations: 8 kB / 3.01 GB, free: 51.75 MB / 1.151 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.0007197/3.748, allocations: 494.5 kB / 3.01 GB, free: 51.21 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/3.748, allocations: 8.031 kB / 3.01 GB, free: 51.21 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008697/3.749, allocations: 91.59 kB / 3.01 GB, free: 51.12 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/3.749, allocations: 224.9 kB / 3.01 GB, free: 50.86 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/3.749, allocations: 4 kB / 3.01 GB, free: 50.86 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/3.749, allocations: 12 kB / 3.01 GB, free: 50.84 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002509/3.75, allocations: 128.6 kB / 3.011 GB, free: 50.72 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/3.75, allocations: 213.2 kB / 3.011 GB, free: 50.48 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/3.75, allocations: 4 kB / 3.011 GB, free: 50.48 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/3.75, allocations: 3.984 kB / 3.011 GB, free: 50.48 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/3.75, allocations: 4 kB / 3.011 GB, free: 50.47 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/3.751, allocations: 0.9666 MB / 3.012 GB, free: 49.45 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/3.752, allocations: 130.5 kB / 3.012 GB, free: 49.31 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.362e-05/3.752, allocations: 64.88 kB / 3.012 GB, free: 49.25 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/3.752, allocations: 8.125 kB / 3.012 GB, free: 49.24 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/3.752, allocations: 42.5 kB / 3.012 GB, free: 49.19 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/3.752, allocations: 3.938 kB / 3.012 GB, free: 49.18 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0003024/3.752, allocations: 121.5 kB / 3.012 GB, free: 49.06 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.548e-05/3.752, allocations: 55.41 kB / 3.012 GB, free: 48.99 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/3.752, allocations: 144.2 kB / 3.012 GB, free: 48.84 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/3.752, allocations: 25.7 kB / 3.012 GB, free: 48.81 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/3.752, allocations: 139.9 kB / 3.012 GB, free: 48.67 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/3.752, allocations: 43.39 kB / 3.012 GB, free: 48.63 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/3.752, allocations: 0 / 3.012 GB, free: 48.63 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.767e-05/3.752, allocations: 322.8 kB / 3.013 GB, free: 48.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/3.752, allocations: 47.98 kB / 3.013 GB, free: 48.26 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/3.753, allocations: 101.6 kB / 3.013 GB, free: 48.14 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/3.753, allocations: 67.03 kB / 3.013 GB, free: 48.07 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/3.753, allocations: 0 / 3.013 GB, free: 48.07 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003046/3.753, allocations: 181.4 kB / 3.013 GB, free: 47.89 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/3.753, allocations: 8.062 kB / 3.013 GB, free: 47.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/3.753, allocations: 8 kB / 3.013 GB, free: 47.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/3.753, allocations: 0 / 3.013 GB, free: 47.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/3.753, allocations: 67.81 kB / 3.013 GB, free: 47.81 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/3.753, allocations: 0 / 3.013 GB, free: 47.81 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/3.754, allocations: 39.77 kB / 3.013 GB, free: 47.77 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/3.754, allocations: 7.984 kB / 3.013 GB, free: 47.76 MB / 1.151 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 7.195e-05/3.754, allocations: 112.9 kB / 3.013 GB, free: 47.64 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/3.754, allocations: 15.8 kB / 3.013 GB, free: 47.63 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/3.754, allocations: 239.1 kB / 3.014 GB, free: 47.39 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/3.754, allocations: 3.906 kB / 3.014 GB, free: 47.39 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/3.754, allocations: 0 / 3.014 GB, free: 47.39 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/3.754, allocations: 0 / 3.014 GB, free: 47.39 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/3.755, allocations: 250.1 kB / 3.014 GB, free: 47.11 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/3.755, allocations: 3.938 kB / 3.014 GB, free: 47.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/3.755, allocations: 55.95 kB / 3.014 GB, free: 47.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/3.755, allocations: 0 / 3.014 GB, free: 47.05 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/3.755, allocations: 3.984 kB / 3.014 GB, free: 47.04 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/3.755, allocations: 4 kB / 3.014 GB, free: 47.04 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/3.755, allocations: 0 / 3.014 GB, free: 47.04 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002956/3.755, allocations: 296.4 kB / 3.014 GB, free: 46.73 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/3.755, allocations: 96.91 kB / 3.014 GB, free: 46.62 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/3.755, allocations: 0 / 3.014 GB, free: 46.62 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/3.756, allocations: 23.92 kB / 3.014 GB, free: 46.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/3.756, allocations: 7.984 kB / 3.014 GB, free: 46.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/3.756, allocations: 7.984 kB / 3.014 GB, free: 46.58 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.326e-05/3.756, allocations: 112.7 kB / 3.014 GB, free: 46.47 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004173/3.756, allocations: 95.83 kB / 3.015 GB, free: 46.38 MB / 1.151 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.0007487/3.757, allocations: 0.7908 MB / 3.015 GB, free: 45.59 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002683/3.757, allocations: 152.9 kB / 3.015 GB, free: 45.44 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/3.757, allocations: 0 / 3.015 GB, free: 45.44 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/3.757, allocations: 95.86 kB / 3.016 GB, free: 45.35 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/3.758, allocations: 15.98 kB / 3.016 GB, free: 45.33 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/3.758, allocations: 255.9 kB / 3.016 GB, free: 45.05 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/3.759, allocations: 0.7669 MB / 3.017 GB, free: 44.26 MB / 1.151 GB Notification: Performance of SimCode: time 2.7e-07/3.759, allocations: 0 / 3.017 GB, free: 44.26 MB / 1.151 GB Notification: Performance of Templates: time 0.01007/3.769, allocations: 7.301 MB / 3.024 GB, free: 36.99 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_TWetBul_TDryBulPhi.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches