Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [: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.754/1.754, allocations: 387.2 MB / 394.5 MB, free: 4.52 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 189.1 kB / 487 MB, free: 11.06 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.147/1.147, allocations: 221.3 MB / 0.7819 GB, free: 3.965 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008235/0.0008236, allocations: 88.94 kB / 0.9213 GB, free: 5.062 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 6.893e-06/6.923e-06, allocations: 4 kB / 1.066 GB, free: 141.1 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1976, allocations: 142.3 MB / 1.205 GB, free: 14.77 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5075/0.7052, allocations: 148 MB / 1.35 GB, free: 4.18 MB / 0.8153 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001641/0.7054, allocations: 67.95 kB / 1.35 GB, free: 4.113 MB / 0.8153 GB Notification: Performance of FrontEnd: time 0.002102/0.7075, allocations: 0.7688 MB / 1.351 GB, free: 3.352 MB / 0.8153 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.7075, allocations: 4 kB / 1.351 GB, free: 3.348 MB / 0.8153 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002407/0.7078, allocations: 350.2 kB / 1.351 GB, free: 2.961 MB / 0.8153 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.7078, allocations: 8.031 kB / 1.351 GB, free: 2.953 MB / 0.8153 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.7078, allocations: 11.91 kB / 1.351 GB, free: 2.941 MB / 0.8153 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.708, allocations: 174.9 kB / 1.351 GB, free: 2.73 MB / 0.8153 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.708, allocations: 8 kB / 1.351 GB, free: 2.723 MB / 0.8153 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.708, allocations: 4 kB / 1.351 GB, free: 2.719 MB / 0.8153 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.385e-05/0.7081, allocations: 35.91 kB / 1.351 GB, free: 2.684 MB / 0.8153 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.7082, allocations: 78.55 kB / 1.351 GB, free: 2.598 MB / 0.8153 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.7082, allocations: 4 kB / 1.351 GB, free: 2.594 MB / 0.8153 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.7082, allocations: 0 / 1.351 GB, free: 2.594 MB / 0.8153 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.7082, allocations: 0 / 1.351 GB, free: 2.594 MB / 0.8153 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.7087, allocations: 410 kB / 1.352 GB, free: 2.152 MB / 0.8153 GB Notification: Performance of preOpt comSubExp (simulation): time 4.037e-05/0.7087, allocations: 41.22 kB / 1.352 GB, free: 2.094 MB / 0.8153 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.7088, allocations: 13.78 kB / 1.352 GB, free: 2.074 MB / 0.8153 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.7088, allocations: 4.031 kB / 1.352 GB, free: 2.07 MB / 0.8153 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.7088, allocations: 38.56 kB / 1.352 GB, free: 2.023 MB / 0.8153 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.7088, allocations: 0.75 kB / 1.352 GB, free: 2.023 MB / 0.8153 GB Notification: Performance of matching and sorting (n=2): time 0.000137/0.709, allocations: 49.61 kB / 1.352 GB, free: 1.969 MB / 0.8153 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.709, allocations: 77.11 kB / 1.352 GB, free: 1.875 MB / 0.8153 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.7091, allocations: 120.9 kB / 1.352 GB, free: 1.75 MB / 0.8153 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.7091, allocations: 27.34 kB / 1.352 GB, free: 1.719 MB / 0.8153 GB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.7091, allocations: 112 kB / 1.352 GB, free: 1.602 MB / 0.8153 GB Notification: Performance of collectInitialBindings (initialization): time 5.601e-06/0.7092, allocations: 3.906 kB / 1.352 GB, free: 1.598 MB / 0.8153 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.7092, allocations: 0 / 1.352 GB, free: 1.598 MB / 0.8153 GB Notification: Performance of setup shared object (initialization): time 8.243e-05/0.7092, allocations: 318.8 kB / 1.352 GB, free: 1.277 MB / 0.8153 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.7093, allocations: 8.031 kB / 1.352 GB, free: 1.27 MB / 0.8153 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.7093, allocations: 17.72 kB / 1.352 GB, free: 1.246 MB / 0.8153 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.966e-05/0.7093, allocations: 11.98 kB / 1.352 GB, free: 1.234 MB / 0.8153 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.7093, allocations: 0 / 1.352 GB, free: 1.234 MB / 0.8153 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.791e-05/0.7094, allocations: 53.55 kB / 1.352 GB, free: 1.176 MB / 0.8153 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.7094, allocations: 8 kB / 1.352 GB, free: 1.168 MB / 0.8153 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.7094, allocations: 0 / 1.352 GB, free: 1.168 MB / 0.8153 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.7094, allocations: 0 / 1.352 GB, free: 1.168 MB / 0.8153 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-05/0.7095, allocations: 12.05 kB / 1.352 GB, free: 1.156 MB / 0.8153 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.7095, allocations: 4 kB / 1.352 GB, free: 1.152 MB / 0.8153 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.534e-05/0.7095, allocations: 10.55 kB / 1.353 GB, free: 1.145 MB / 0.8153 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.7095, allocations: 0 / 1.353 GB, free: 1.145 MB / 0.8153 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.27e-05/0.7096, allocations: 107.9 kB / 1.353 GB, free: 1.035 MB / 0.8153 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.7096, allocations: 3.906 kB / 1.353 GB, free: 1.031 MB / 0.8153 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/0.7097, allocations: 11.47 kB / 1.353 GB, free: 1.023 MB / 0.8153 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.7097, allocations: 0 / 1.353 GB, free: 1.023 MB / 0.8153 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.7097, allocations: 0 / 1.353 GB, free: 1.023 MB / 0.8153 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.7097, allocations: 4 kB / 1.353 GB, free: 1.02 MB / 0.8153 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.71, allocations: 447.3 kB / 1.353 GB, free: 0.5312 MB / 0.8153 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.71, allocations: 0 / 1.353 GB, free: 0.5312 MB / 0.8153 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/0.71, allocations: 0 / 1.353 GB, free: 0.5312 MB / 0.8153 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.71, allocations: 4.219 kB / 1.353 GB, free: 0.5273 MB / 0.8153 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.71, allocations: 0 / 1.353 GB, free: 0.5273 MB / 0.8153 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.71, allocations: 7.938 kB / 1.353 GB, free: 0.5195 MB / 0.8153 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.71, allocations: 4.062 kB / 1.353 GB, free: 0.5156 MB / 0.8153 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.779e-05/0.7101, allocations: 95.45 kB / 1.353 GB, free: 404 kB / 0.8153 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.7102, allocations: 81.11 kB / 1.353 GB, free: 304 kB / 0.8153 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.7102, allocations: 0 / 1.353 GB, free: 304 kB / 0.8153 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.7102, allocations: 3.984 kB / 1.353 GB, free: 300 kB / 0.8153 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.7102, allocations: 7.938 kB / 1.353 GB, free: 292 kB / 0.8153 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.7102, allocations: 4 kB / 1.353 GB, free: 288 kB / 0.8153 GB Notification: Performance of sort global known variables: time 4.701e-05/0.7103, allocations: 101.2 kB / 1.353 GB, free: 188 kB / 0.8153 GB Notification: Performance of remove unused functions: time 0.0001653/0.7104, allocations: 8 kB / 1.353 GB, free: 180 kB / 0.8153 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 9.186e-05/0.7105, allocations: 95.25 kB / 1.353 GB, free: 76 kB / 0.8153 GB Notification: Performance of simCode: created initialization part: time 5.819e-05/0.7106, allocations: 15.98 kB / 1.353 GB, free: 60 kB / 0.8153 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.7106, allocations: 3.938 kB / 1.353 GB, free: 56 kB / 0.8153 GB Notification: Performance of simCode: created simulation system equations: time 8.005e-06/0.7106, allocations: 4.188 kB / 1.353 GB, free: 52 kB / 0.8153 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.882e-05/0.7107, allocations: 15.97 kB / 1.353 GB, free: 36 kB / 0.8153 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002114/0.7109, allocations: 100.5 kB / 1.354 GB, free: 15.91 MB / 0.8309 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.7112, allocations: 0.7036 MB / 1.354 GB, free: 15.18 MB / 0.8309 GB Notification: Performance of SimCode: time 2.2e-07/0.7112, allocations: 0 / 1.354 GB, free: 15.18 MB / 0.8309 GB Notification: Performance of Templates: time 0.001678/0.7129, allocations: 332.8 kB / 1.355 GB, free: 14.85 MB / 0.8309 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches