Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.732/1.732, allocations: 387.2 MB / 394.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009797/0.0009794, allocations: 172.8 kB / 487 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.12/1.12, allocations: 221.3 MB / 0.7819 GB, free: 6.836 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000815/0.0008149, allocations: 108.2 kB / 0.9213 GB, free: 43.71 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 5.901e-06/5.991e-06, allocations: 0 / 1.066 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5324/0.5324, allocations: 142.3 MB / 1.205 GB, free: 72.61 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.46/2.992, allocations: 1.73 GB / 2.935 GB, free: 315.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001746/2.993, allocations: 78.98 kB / 2.935 GB, free: 315.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1255/3.118, allocations: 75.16 MB / 3.008 GB, free: 254.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.063e-05/3.118, allocations: 4 kB / 3.008 GB, free: 254.3 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.000653/3.119, allocations: 483.8 kB / 3.009 GB, free: 253.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/3.119, allocations: 12.03 kB / 3.009 GB, free: 253.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008138/3.12, allocations: 87.61 kB / 3.009 GB, free: 253.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/3.12, allocations: 223.8 kB / 3.009 GB, free: 253.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/3.12, allocations: 8 kB / 3.009 GB, free: 253.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/3.12, allocations: 12 kB / 3.009 GB, free: 253.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002383/3.12, allocations: 130.6 kB / 3.009 GB, free: 253.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/3.121, allocations: 206 kB / 3.01 GB, free: 253.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/3.121, allocations: 0 / 3.01 GB, free: 253.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/3.121, allocations: 4 kB / 3.01 GB, free: 253.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/3.121, allocations: 7.938 kB / 3.01 GB, free: 253.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/3.122, allocations: 0.9606 MB / 3.011 GB, free: 252.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/3.122, allocations: 138.9 kB / 3.011 GB, free: 252.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.788e-05/3.122, allocations: 64.59 kB / 3.011 GB, free: 252 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/3.122, allocations: 4 kB / 3.011 GB, free: 252 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.042e-05/3.122, allocations: 34.78 kB / 3.011 GB, free: 252 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/3.122, allocations: 3.938 kB / 3.011 GB, free: 252 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0002771/3.122, allocations: 137.7 kB / 3.011 GB, free: 251.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.74e-05/3.123, allocations: 51.41 kB / 3.011 GB, free: 251.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.245e-05/3.123, allocations: 139.3 kB / 3.011 GB, free: 251.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/3.123, allocations: 25.7 kB / 3.011 GB, free: 251.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/3.123, allocations: 134.5 kB / 3.011 GB, free: 251.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/3.123, allocations: 34.64 kB / 3.011 GB, free: 251.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/3.123, allocations: 4 kB / 3.011 GB, free: 251.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 3.689e-05/3.123, allocations: 329 kB / 3.012 GB, free: 251.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/3.123, allocations: 48.36 kB / 3.012 GB, free: 251.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.687e-05/3.123, allocations: 106 kB / 3.012 GB, free: 251 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/3.123, allocations: 65.88 kB / 3.012 GB, free: 251 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/3.123, allocations: 0 / 3.012 GB, free: 251 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000305/3.123, allocations: 187.1 kB / 3.012 GB, free: 250.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/3.123, allocations: 8 kB / 3.012 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/3.123, allocations: 0 / 3.012 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/3.123, allocations: 8 kB / 3.012 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/3.124, allocations: 60.08 kB / 3.012 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/3.124, allocations: 7.938 kB / 3.012 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/3.124, allocations: 43.66 kB / 3.012 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/3.124, allocations: 11.98 kB / 3.012 GB, free: 250.7 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.635e-05/3.124, allocations: 101 kB / 3.012 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/3.124, allocations: 15.81 kB / 3.012 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004067/3.125, allocations: 244.8 kB / 3.012 GB, free: 250.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/3.125, allocations: 0 / 3.012 GB, free: 250.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/3.125, allocations: 0 / 3.012 GB, free: 250.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/3.125, allocations: 4 kB / 3.012 GB, free: 250.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/3.125, allocations: 241.9 kB / 3.013 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/3.125, allocations: 3.984 kB / 3.013 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/3.125, allocations: 47.97 kB / 3.013 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/3.125, allocations: 0 / 3.013 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/3.125, allocations: 11.98 kB / 3.013 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/3.125, allocations: 4 kB / 3.013 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/3.125, allocations: 0 / 3.013 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002691/3.126, allocations: 287.1 kB / 3.013 GB, free: 249.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/3.126, allocations: 96.91 kB / 3.013 GB, free: 249.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/3.126, allocations: 0 / 3.013 GB, free: 249.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/3.126, allocations: 19.98 kB / 3.013 GB, free: 249.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/3.126, allocations: 11.89 kB / 3.013 GB, free: 249.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/3.126, allocations: 11.98 kB / 3.013 GB, free: 249.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.984e-05/3.126, allocations: 112.9 kB / 3.013 GB, free: 249.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003608/3.126, allocations: 87.92 kB / 3.013 GB, free: 249.3 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.000665/3.127, allocations: 0.7941 MB / 3.014 GB, free: 248.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000247/3.127, allocations: 159.9 kB / 3.014 GB, free: 248.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/3.127, allocations: 0 / 3.014 GB, free: 248.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/3.127, allocations: 85.14 kB / 3.014 GB, free: 248.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/3.128, allocations: 31.89 kB / 3.014 GB, free: 248.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/3.128, allocations: 243.8 kB / 3.015 GB, free: 248 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/3.128, allocations: 0.7825 MB / 3.015 GB, free: 247.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/3.128, allocations: 0 / 3.015 GB, free: 247.2 MB / 1.151 GB Notification: Performance of Templates: time 0.009354/3.138, allocations: 7.29 MB / 3.022 GB, free: 239.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches