Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [: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 7.0.3-maint.7.0.x/package.mo): time 1.328/1.328, allocations: 249.4 MB / 256.7 MB, free: 7.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 189.2 kB / 316 MB, free: 3.582 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.2 MB / 0.5667 GB, free: 15.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009034/0.0009032, allocations: 83.34 kB / 0.671 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.694e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2279, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6388/0.8667, allocations: 131.7 MB / 1.013 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.8671, allocations: 65.27 kB / 1.013 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002684/0.8698, allocations: 0.8462 MB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.8698, allocations: 4 kB / 1.014 GB, free: 6.352 MB / 0.6355 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.0003416/0.8701, allocations: 368.9 kB / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.8702, allocations: 8.031 kB / 1.014 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.8703, allocations: 11.91 kB / 1.014 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.8704, allocations: 178.8 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.8705, allocations: 4 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.8705, allocations: 4 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.715e-05/0.8706, allocations: 38.34 kB / 1.015 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.8707, allocations: 78.03 kB / 1.015 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8707, allocations: 4 kB / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.8708, allocations: 0 / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.8708, allocations: 4 kB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005778/0.8713, allocations: 420.5 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.518e-05/0.8714, allocations: 36.75 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.8715, allocations: 13.72 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.8715, allocations: 3.562 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.8715, allocations: 43.22 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.8715, allocations: 2.734 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002233/0.8717, allocations: 45.12 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.8718, allocations: 85.02 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.8719, allocations: 122 kB / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.8719, allocations: 25.7 kB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.872, allocations: 103.4 kB / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.207e-06/0.872, allocations: 7.281 kB / 1.016 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.872, allocations: 7.938 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8721, allocations: 321.8 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.8721, allocations: 4 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.991e-05/0.8722, allocations: 19.97 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.202e-05/0.8722, allocations: 7.312 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.8722, allocations: 7.906 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.094e-05/0.8723, allocations: 57.25 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.8723, allocations: 4 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.8723, allocations: 0 / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.8724, allocations: 3.906 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/0.8724, allocations: 8 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.8724, allocations: 0 / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.911e-05/0.8725, allocations: 4.031 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.8725, allocations: 4 kB / 1.016 GB, free: 4.211 MB / 0.6355 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 6.139e-05/0.8726, allocations: 106.9 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.8726, allocations: 19.94 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.8726, allocations: 7.547 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.8727, allocations: 4 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8727, allocations: 7.625 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.8727, allocations: 0 / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.873, allocations: 456.5 kB / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8731, allocations: 0 / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.8731, allocations: 8.062 kB / 1.017 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.8731, allocations: 0 / 1.017 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.8731, allocations: 0 / 1.017 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.8731, allocations: 4 kB / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.8731, allocations: 0 / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.26e-05/0.8732, allocations: 90.67 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.8733, allocations: 85.05 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.8733, allocations: 7.984 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.188e-05/0.8733, allocations: 0 / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.8733, allocations: 3.906 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.8733, allocations: 0 / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.842e-05/0.8734, allocations: 101.8 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001752/0.8736, allocations: 8 kB / 1.017 GB, free: 3.262 MB / 0.6355 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 0.0001217/0.8737, allocations: 99.23 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.666e-05/0.8738, allocations: 23.56 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8738, allocations: 0 / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.8738, allocations: 7.438 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.8739, allocations: 16.98 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.8742, allocations: 114.8 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.8745, allocations: 0.7116 MB / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.8745, allocations: 0 / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.002084/0.8766, allocations: 373.7 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches