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_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.From_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.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_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.332/1.332, allocations: 249.4 MB / 256.7 MB, free: 6.996 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.001073/0.001073, allocations: 176.5 kB / 316 MB, free: 3.523 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.582/1.582, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.0009717/0.0009712, allocations: 75.42 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.186e-06/8.286e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2241, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6319/0.8561, allocations: 131.6 MB / 1.013 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.8563, allocations: 61.91 kB / 1.013 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0026/0.859, allocations: 0.8331 MB / 1.014 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.859, allocations: 8 kB / 1.014 GB, free: 6.496 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.0003429/0.8593, allocations: 365.4 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.8594, allocations: 8.031 kB / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.8594, allocations: 18.03 kB / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.8596, allocations: 178.8 kB / 1.015 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.8596, allocations: 4 kB / 1.015 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.8597, allocations: 4 kB / 1.015 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.822e-05/0.8598, allocations: 38.14 kB / 1.015 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.8599, allocations: 87.77 kB / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.8599, allocations: 0 / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.8599, allocations: 0.75 kB / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.8599, allocations: 4 kB / 1.015 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.8605, allocations: 413.1 kB / 1.015 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.945e-05/0.8606, allocations: 40.81 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.8606, allocations: 13.84 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.8606, allocations: 4 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.8607, allocations: 41.97 kB / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8607, allocations: 2.734 kB / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001696/0.8608, allocations: 49.12 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.8609, allocations: 81.02 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.861, allocations: 126.4 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.861, allocations: 29.77 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.8611, allocations: 103.2 kB / 1.016 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-06/0.8612, allocations: 7.344 kB / 1.016 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.8612, allocations: 0 / 1.016 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.8613, allocations: 318.8 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.8613, allocations: 7.625 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.8613, allocations: 17.22 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.378e-05/0.8614, allocations: 11.62 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.8614, allocations: 3.906 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.435e-05/0.8615, allocations: 60.44 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.8615, allocations: 4 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.8615, allocations: 0 / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.8615, allocations: 3.906 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.8616, allocations: 8 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.8616, allocations: 3.984 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.073e-05/0.8616, allocations: 3.938 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.8617, allocations: 4.062 kB / 1.016 GB, free: 4.348 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 8.363e-05/0.8618, allocations: 107.4 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.8618, allocations: 7.906 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.8618, allocations: 15.09 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.8619, allocations: 0 / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.8619, allocations: 8.125 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.8619, allocations: 0 / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.8623, allocations: 462.8 kB / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8623, allocations: 0 / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.8623, allocations: 4 kB / 1.017 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.8623, allocations: 0 / 1.017 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.8623, allocations: 0 / 1.017 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.8624, allocations: 0 / 1.017 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.8624, allocations: 7.938 kB / 1.017 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001089/0.8625, allocations: 90.36 kB / 1.017 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.8626, allocations: 81.02 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.8626, allocations: 4 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.212e-05/0.8626, allocations: 0 / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.8626, allocations: 7.891 kB / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.8626, allocations: 0 / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.934e-05/0.8627, allocations: 104.4 kB / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001808/0.8629, allocations: 12.03 kB / 1.017 GB, free: 3.395 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.0001949/0.8631, allocations: 99.23 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.818e-05/0.8632, allocations: 23.75 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8632, allocations: 0 / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.631e-05/0.8633, allocations: 7 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.8634, allocations: 9.766 kB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.8637, allocations: 119.3 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/0.8642, allocations: 0.7075 MB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.8642, allocations: 0 / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of Templates: time 0.002487/0.8667, allocations: 386.2 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches