Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_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.h_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_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.889/1.889, allocations: 387.2 MB / 394.5 MB, free: 13.73 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.00108/0.00108, allocations: 185.2 kB / 487 MB, free: 5.391 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.313/1.313, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.001013/0.001013, allocations: 97.56 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.843e-06/6.863e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2485, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7456/0.9941, allocations: 150.4 MB / 1.352 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.9944, allocations: 85.33 kB / 1.352 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.007087/1.001, allocations: 1.973 MB / 1.354 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.635e-06/1.002, allocations: 1.688 kB / 1.354 GB, free: 15.71 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004198/1.002, allocations: 383.1 kB / 1.355 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/1.002, allocations: 9.312 kB / 1.355 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003856/1.002, allocations: 29.73 kB / 1.355 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/1.003, allocations: 179.7 kB / 1.355 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/1.003, allocations: 0.8438 kB / 1.355 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/1.003, allocations: 2.844 kB / 1.355 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001365/1.003, allocations: 40.14 kB / 1.355 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/1.003, allocations: 71.3 kB / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/1.003, allocations: 3.781 kB / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/1.003, allocations: 0.5156 kB / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/1.003, allocations: 1.156 kB / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/1.003, allocations: 327.4 kB / 1.355 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/1.004, allocations: 53.52 kB / 1.355 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/1.004, allocations: 21.3 kB / 1.355 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/1.004, allocations: 1 kB / 1.355 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/1.004, allocations: 40.61 kB / 1.355 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/1.004, allocations: 0.8438 kB / 1.355 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001972/1.004, allocations: 62.33 kB / 1.355 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.829e-05/1.004, allocations: 52.44 kB / 1.355 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.823e-05/1.004, allocations: 98.78 kB / 1.355 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/1.004, allocations: 25.7 kB / 1.355 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/1.004, allocations: 95 kB / 1.356 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/1.004, allocations: 10.52 kB / 1.356 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/1.004, allocations: 5.344 kB / 1.356 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.334e-05/1.004, allocations: 317.3 kB / 1.356 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/1.004, allocations: 11.45 kB / 1.356 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.208e-05/1.004, allocations: 17.61 kB / 1.356 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/1.004, allocations: 12.98 kB / 1.356 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/1.004, allocations: 0 / 1.356 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001252/1.004, allocations: 72.52 kB / 1.356 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.005, allocations: 4.312 kB / 1.356 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/1.005, allocations: 1.5 kB / 1.356 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/1.005, allocations: 5.688 kB / 1.356 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/1.005, allocations: 23.7 kB / 1.356 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/1.005, allocations: 0.875 kB / 1.356 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/1.005, allocations: 11.53 kB / 1.356 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/1.005, allocations: 11.62 kB / 1.356 GB, free: 14.09 MB / 0.8073 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 (5): * Single equations (assignments): 5 * 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 4.911e-05/1.005, allocations: 105.7 kB / 1.356 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/1.005, allocations: 3.484 kB / 1.356 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/1.005, allocations: 9.625 kB / 1.356 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/1.005, allocations: 0 / 1.356 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.005, allocations: 5.719 kB / 1.356 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.005, allocations: 2.5 kB / 1.356 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/1.005, allocations: 154.1 kB / 1.356 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/1.005, allocations: 0.8125 kB / 1.356 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/1.005, allocations: 23.8 kB / 1.356 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.005, allocations: 1 kB / 1.356 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/1.005, allocations: 6.328 kB / 1.356 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.005, allocations: 7.938 kB / 1.356 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.005, allocations: 1.25 kB / 1.356 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001442/1.005, allocations: 162.7 kB / 1.357 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/1.006, allocations: 82.2 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/1.006, allocations: 5.891 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/1.006, allocations: 11.45 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/1.006, allocations: 8.078 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/1.006, allocations: 1.812 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.626e-05/1.006, allocations: 89.5 kB / 1.357 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002491/1.006, allocations: 25.64 kB / 1.357 GB, free: 13.46 MB / 0.8073 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 (4): * Single equations (assignments): 4 * 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.0001624/1.006, allocations: 115.8 kB / 1.357 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001188/1.006, allocations: 38.22 kB / 1.357 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/1.006, allocations: 0 / 1.357 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/1.006, allocations: 20.28 kB / 1.357 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/1.007, allocations: 8.438 kB / 1.357 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/1.007, allocations: 98.36 kB / 1.357 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/1.007, allocations: 0.7026 MB / 1.358 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/1.007, allocations: 0 / 1.358 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of Templates: time 0.003559/1.011, allocations: 1.126 MB / 1.359 GB, free: 12.49 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_h_TDryBulPhi.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches