Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [: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.315/1.315, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 183.1 kB / 316 MB, free: 7.215 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.807/1.807, allocations: 205.1 MB / 0.5667 GB, free: 24 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.001069/0.001069, allocations: 97.28 kB / 0.671 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 8.746e-06/8.776e-06, allocations: 0 / 0.7807 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5735/0.5735, allocations: 106.3 MB / 0.8846 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.7374, allocations: 130.6 MB / 1.012 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.7376, allocations: 59.97 kB / 1.012 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.002584/0.7402, allocations: 0.8459 MB / 1.013 GB, free: 8.605 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.7403, allocations: 4 kB / 1.013 GB, free: 8.602 MB / 0.6667 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.0003377/0.7406, allocations: 366.1 kB / 1.013 GB, free: 8.199 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.7407, allocations: 8.031 kB / 1.013 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.7407, allocations: 11.91 kB / 1.013 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.7409, allocations: 181.5 kB / 1.014 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.7409, allocations: 8 kB / 1.014 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.7409, allocations: 7.906 kB / 1.014 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.617e-05/0.741, allocations: 32 kB / 1.014 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.7411, allocations: 79.61 kB / 1.014 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.7412, allocations: 3.938 kB / 1.014 GB, free: 7.824 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.7412, allocations: 3.938 kB / 1.014 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.7412, allocations: 4 kB / 1.014 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.7417, allocations: 409.2 kB / 1.014 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 5.539e-05/0.7418, allocations: 41.16 kB / 1.014 GB, free: 7.316 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.7418, allocations: 17.88 kB / 1.014 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.7418, allocations: 0 / 1.014 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.7419, allocations: 46.45 kB / 1.014 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.7419, allocations: 0 / 1.014 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.0001488/0.742, allocations: 37.61 kB / 1.014 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.7421, allocations: 85.11 kB / 1.014 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.7422, allocations: 127.7 kB / 1.014 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.7422, allocations: 29.64 kB / 1.014 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.7423, allocations: 104.1 kB / 1.015 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.795e-06/0.7423, allocations: 7.906 kB / 1.015 GB, free: 6.812 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.7423, allocations: 0 / 1.015 GB, free: 6.812 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7424, allocations: 318.8 kB / 1.015 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.853e-05/0.7424, allocations: 8 kB / 1.015 GB, free: 6.484 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.7425, allocations: 21.72 kB / 1.015 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.439e-05/0.7425, allocations: 11.91 kB / 1.015 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7425, allocations: 0 / 1.015 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001114/0.7426, allocations: 57.62 kB / 1.015 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.7426, allocations: 4 kB / 1.015 GB, free: 6.379 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7427, allocations: 3.906 kB / 1.015 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.7427, allocations: 0 / 1.015 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.7427, allocations: 12 kB / 1.015 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.7428, allocations: 4.062 kB / 1.015 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/0.7428, allocations: 6.406 kB / 1.015 GB, free: 6.355 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.7428, allocations: 96 / 1.015 GB, free: 6.355 MB / 0.6667 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.348e-05/0.7429, allocations: 115.1 kB / 1.015 GB, free: 6.238 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.7429, allocations: 11.89 kB / 1.015 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.743, allocations: 7.547 kB / 1.015 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.743, allocations: 3.906 kB / 1.015 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.743, allocations: 4 kB / 1.015 GB, free: 6.211 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.743, allocations: 0 / 1.015 GB, free: 6.211 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.7433, allocations: 459.3 kB / 1.016 GB, free: 5.711 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.7434, allocations: 0 / 1.016 GB, free: 5.711 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.7434, allocations: 7.938 kB / 1.016 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7434, allocations: 0 / 1.016 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-06/0.7434, allocations: 0 / 1.016 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.7434, allocations: 0 / 1.016 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.7434, allocations: 7.984 kB / 1.016 GB, free: 5.695 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.052e-05/0.7435, allocations: 91.62 kB / 1.016 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.7436, allocations: 85 kB / 1.016 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.7436, allocations: 4 kB / 1.016 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.281e-05/0.7436, allocations: 0 / 1.016 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-06/0.7436, allocations: 3.906 kB / 1.016 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.7436, allocations: 4.031 kB / 1.016 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.622e-05/0.7437, allocations: 105 kB / 1.016 GB, free: 5.363 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0001719/0.7439, allocations: 8 kB / 1.016 GB, free: 5.355 MB / 0.6667 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.0001021/0.744, allocations: 95.25 kB / 1.016 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 8.318e-05/0.7441, allocations: 23.94 kB / 1.016 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7441, allocations: 0 / 1.016 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.097e-05/0.7441, allocations: 4 kB / 1.016 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.7442, allocations: 20.09 kB / 1.016 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.7445, allocations: 104.2 kB / 1.016 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.7448, allocations: 0.7075 MB / 1.017 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of SimCode: time 3e-07/0.7449, allocations: 4 kB / 1.017 GB, free: 4.34 MB / 0.6667 GB Notification: Performance of Templates: time 0.002086/0.747, allocations: 376 kB / 1.017 GB, free: 3.973 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches