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_hp.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_hp,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_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,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_hp") [: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.368/1.368, allocations: 249.4 MB / 256.7 MB, free: 6.973 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.001163/0.001163, allocations: 184.8 kB / 316 MB, free: 3.512 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.554/1.554, allocations: 205.1 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.0009681/0.000968, allocations: 87.34 kB / 0.671 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.624e-06/7.655e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1861, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4824/0.6686, allocations: 131.7 MB / 1.013 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001756/0.6688, allocations: 63.77 kB / 1.013 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002521/0.6713, allocations: 0.8472 MB / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.6713, allocations: 0 / 1.014 GB, free: 6.246 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.0002834/0.6716, allocations: 362 kB / 1.014 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.6717, allocations: 12.03 kB / 1.014 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.6717, allocations: 15.77 kB / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.6719, allocations: 182.9 kB / 1.015 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.6719, allocations: 0 / 1.015 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.6719, allocations: 4 kB / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.513e-05/0.672, allocations: 34.66 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.6721, allocations: 85.95 kB / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.6721, allocations: 0 / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.6721, allocations: 4 kB / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.6721, allocations: 0 / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.6726, allocations: 413.6 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.875e-05/0.6727, allocations: 44.94 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.6727, allocations: 22.33 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.6727, allocations: 0 / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.6728, allocations: 34.47 kB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.6728, allocations: 2.734 kB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001595/0.6729, allocations: 49.36 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.673, allocations: 81.02 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.6731, allocations: 122.2 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.6731, allocations: 25.7 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.6732, allocations: 103.8 kB / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.925e-06/0.6732, allocations: 10.91 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.6732, allocations: 0 / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.6733, allocations: 318.6 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.6733, allocations: 8.781 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/0.6733, allocations: 17.53 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.183e-05/0.6734, allocations: 14.73 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6734, allocations: 3.906 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.948e-05/0.6735, allocations: 52.77 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.6735, allocations: 4 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.6735, allocations: 0 / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.6735, allocations: 7.969 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/0.6736, allocations: 11.94 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.6736, allocations: 3.984 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.6736, allocations: 11.94 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.6736, allocations: 0 / 1.016 GB, free: 4.098 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.836e-05/0.6737, allocations: 103.4 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.6737, allocations: 7.906 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.6738, allocations: 15.58 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.6738, allocations: 3.984 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6738, allocations: 4.125 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6738, allocations: 4 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.6742, allocations: 452.9 kB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6742, allocations: 0 / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.6742, allocations: 4 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6742, allocations: 0 / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.6742, allocations: 4 kB / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.6742, allocations: 3.984 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6742, allocations: 4.062 kB / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.864e-05/0.6743, allocations: 86.44 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.6744, allocations: 92.19 kB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.6744, allocations: 0 / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.248e-05/0.6744, allocations: 0 / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.6744, allocations: 7.938 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.6744, allocations: 4 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.264e-05/0.6745, allocations: 103.8 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001731/0.6747, allocations: 12 kB / 1.017 GB, free: 3.145 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 9.166e-05/0.6748, allocations: 95.25 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.812e-05/0.6749, allocations: 15.88 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.6749, allocations: 4 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.077e-05/0.6749, allocations: 8.125 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.519e-05/0.675, allocations: 10.94 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/0.6752, allocations: 112.1 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.6755, allocations: 0.7075 MB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.6755, allocations: 0 / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of Templates: time 0.001808/0.6773, allocations: 378.1 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches