Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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 10.0.0-master/package.mo): time 1.704/1.704, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.0009073/0.0009073, allocations: 193.2 kB / 490.8 MB, free: 1.906 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.067/1.067, allocations: 221.4 MB / 0.7863 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007993/0.0007994, allocations: 94.91 kB / 0.9264 GB, free: 14.13 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.19e-06/5.209e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1674, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.297/2.465, allocations: 1.731 GB / 2.942 GB, free: 116.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001803/2.465, allocations: 77.2 kB / 2.942 GB, free: 116.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1176/2.583, allocations: 75.15 MB / 3.016 GB, free: 45.76 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.688e-06/2.583, allocations: 7.938 kB / 3.016 GB, free: 45.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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000571/2.583, allocations: 485 kB / 3.016 GB, free: 45.23 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.714e-05/2.583, allocations: 12.03 kB / 3.016 GB, free: 45.22 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007778/2.584, allocations: 83.7 kB / 3.016 GB, free: 45.14 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/2.584, allocations: 228.2 kB / 3.016 GB, free: 44.88 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/2.584, allocations: 8 kB / 3.016 GB, free: 44.87 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/2.584, allocations: 12 kB / 3.016 GB, free: 44.86 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002219/2.584, allocations: 128 kB / 3.017 GB, free: 44.73 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/2.585, allocations: 215.3 kB / 3.017 GB, free: 44.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/2.585, allocations: 0 / 3.017 GB, free: 44.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/2.585, allocations: 4 kB / 3.017 GB, free: 44.49 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/2.585, allocations: 4 kB / 3.017 GB, free: 44.49 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/2.586, allocations: 0.9588 MB / 3.018 GB, free: 43.47 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/2.586, allocations: 146.4 kB / 3.018 GB, free: 43.32 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/2.586, allocations: 60.88 kB / 3.018 GB, free: 43.26 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/2.586, allocations: 4 kB / 3.018 GB, free: 43.25 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.418e-06/2.586, allocations: 34.56 kB / 3.018 GB, free: 43.21 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/2.586, allocations: 3.938 kB / 3.018 GB, free: 43.21 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0002657/2.587, allocations: 133.5 kB / 3.018 GB, free: 43.07 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.182e-05/2.587, allocations: 51.41 kB / 3.018 GB, free: 43.01 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.218e-05/2.587, allocations: 141.6 kB / 3.018 GB, free: 42.86 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/2.587, allocations: 25.7 kB / 3.018 GB, free: 42.83 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/2.587, allocations: 135.9 kB / 3.018 GB, free: 42.69 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/2.587, allocations: 35.45 kB / 3.018 GB, free: 42.66 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/2.587, allocations: 4 kB / 3.018 GB, free: 42.65 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 3.497e-05/2.587, allocations: 322.8 kB / 3.019 GB, free: 42.33 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/2.587, allocations: 56.14 kB / 3.019 GB, free: 42.27 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.248e-05/2.587, allocations: 98.84 kB / 3.019 GB, free: 42.15 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/2.587, allocations: 67.88 kB / 3.019 GB, free: 42.09 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/2.587, allocations: 0 / 3.019 GB, free: 42.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002831/2.587, allocations: 192.1 kB / 3.019 GB, free: 41.89 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/2.587, allocations: 8 kB / 3.019 GB, free: 41.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/2.587, allocations: 0 / 3.019 GB, free: 41.89 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/2.587, allocations: 4 kB / 3.019 GB, free: 41.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/2.588, allocations: 60.03 kB / 3.019 GB, free: 41.82 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/2.588, allocations: 4 kB / 3.019 GB, free: 41.82 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/2.588, allocations: 35.73 kB / 3.019 GB, free: 41.79 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/2.588, allocations: 11.98 kB / 3.019 GB, free: 41.77 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 5.215e-05/2.588, allocations: 101 kB / 3.019 GB, free: 41.67 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/2.588, allocations: 11.91 kB / 3.019 GB, free: 41.66 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/2.589, allocations: 242.3 kB / 3.02 GB, free: 41.42 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/2.589, allocations: 4 kB / 3.02 GB, free: 41.41 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/2.589, allocations: 0 / 3.02 GB, free: 41.41 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/2.589, allocations: 7.984 kB / 3.02 GB, free: 41.41 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/2.589, allocations: 242 kB / 3.02 GB, free: 41.13 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/2.589, allocations: 0 / 3.02 GB, free: 41.13 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/2.589, allocations: 55.89 kB / 3.02 GB, free: 41.08 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/2.589, allocations: 7.844 kB / 3.02 GB, free: 41.07 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/2.589, allocations: 8 kB / 3.02 GB, free: 41.06 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/2.589, allocations: 7.984 kB / 3.02 GB, free: 41.05 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/2.589, allocations: 0 / 3.02 GB, free: 41.05 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002588/2.589, allocations: 289.8 kB / 3.02 GB, free: 40.76 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/2.589, allocations: 92.92 kB / 3.02 GB, free: 40.65 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/2.59, allocations: 0 / 3.02 GB, free: 40.65 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/2.59, allocations: 23.97 kB / 3.02 GB, free: 40.62 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/2.59, allocations: 7.984 kB / 3.02 GB, free: 40.62 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/2.59, allocations: 11.98 kB / 3.02 GB, free: 40.61 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.755e-05/2.59, allocations: 117.4 kB / 3.02 GB, free: 40.49 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003282/2.59, allocations: 91.83 kB / 3.02 GB, free: 40.4 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.0005863/2.591, allocations: 0.7783 MB / 3.021 GB, free: 39.62 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002264/2.591, allocations: 152.1 kB / 3.021 GB, free: 39.47 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/2.591, allocations: 4 kB / 3.021 GB, free: 39.46 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/2.591, allocations: 87.91 kB / 3.021 GB, free: 39.38 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/2.591, allocations: 29.39 kB / 3.022 GB, free: 39.35 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/2.592, allocations: 247.6 kB / 3.022 GB, free: 39.08 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/2.592, allocations: 0.7747 MB / 3.022 GB, free: 38.28 MB / 1.151 GB Notification: Performance of SimCode: time 2.81e-07/2.592, allocations: 4 kB / 3.023 GB, free: 38.27 MB / 1.151 GB Notification: Performance of Templates: time 0.008937/2.601, allocations: 7.284 MB / 3.03 GB, free: 31.01 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches