Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.773/1.773, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009081/0.0009081, allocations: 185.3 kB / 487 MB, free: 5.312 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.134/1.134, allocations: 221.3 MB / 0.7819 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008292/0.0008289, allocations: 89.94 kB / 0.9213 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.923e-06/6.943e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1898, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5144/0.7042, allocations: 148 MB / 1.35 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001748/0.7044, allocations: 62.3 kB / 1.35 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002194/0.7066, allocations: 0.7734 MB / 1.351 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.7067, allocations: 1 kB / 1.351 GB, free: 15.8 MB / 0.8073 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.0002266/0.7069, allocations: 351.7 kB / 1.351 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.7069, allocations: 8.25 kB / 1.351 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.707, allocations: 12.41 kB / 1.351 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.7071, allocations: 181.8 kB / 1.351 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.7071, allocations: 2.219 kB / 1.351 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.7071, allocations: 4.812 kB / 1.351 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.021e-05/0.7072, allocations: 33.89 kB / 1.351 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.7074, allocations: 84.28 kB / 1.351 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.7074, allocations: 0 / 1.351 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.7074, allocations: 1.281 kB / 1.351 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.7074, allocations: 1.219 kB / 1.351 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.7078, allocations: 418.4 kB / 1.352 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.506e-05/0.7078, allocations: 36.12 kB / 1.352 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.777e-05/0.7079, allocations: 19.61 kB / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.7079, allocations: 0 / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.7079, allocations: 36.44 kB / 1.352 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7079, allocations: 4 kB / 1.352 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001371/0.7081, allocations: 43.27 kB / 1.352 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.905e-05/0.7081, allocations: 77.11 kB / 1.352 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/0.7082, allocations: 116.1 kB / 1.352 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.732e-06/0.7082, allocations: 27.06 kB / 1.352 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.366e-05/0.7082, allocations: 108.3 kB / 1.352 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-06/0.7082, allocations: 8.844 kB / 1.352 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-06/0.7082, allocations: 1.312 kB / 1.352 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.973e-05/0.7083, allocations: 317.7 kB / 1.352 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.7083, allocations: 10.66 kB / 1.352 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.776e-05/0.7083, allocations: 18.89 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.988e-05/0.7084, allocations: 9.797 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7084, allocations: 0 / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.077e-05/0.7084, allocations: 53.91 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.7085, allocations: 9.969 kB / 1.352 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.7085, allocations: 1.719 kB / 1.352 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.7085, allocations: 0 / 1.352 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.7085, allocations: 9.531 kB / 1.352 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.7086, allocations: 2.578 kB / 1.352 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.7086, allocations: 8.938 kB / 1.353 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.7086, allocations: 1.344 kB / 1.353 GB, free: 13.98 MB / 0.8073 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 3.542e-05/0.7086, allocations: 105.7 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.7087, allocations: 8.75 kB / 1.353 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.7087, allocations: 10.53 kB / 1.353 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.7087, allocations: 1.25 kB / 1.353 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7087, allocations: 2.688 kB / 1.353 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7087, allocations: 1.188 kB / 1.353 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.709, allocations: 443.4 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.709, allocations: 0 / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-05/0.709, allocations: 4.094 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.709, allocations: 5.438 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.709, allocations: 5.312 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.709, allocations: 0 / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.709, allocations: 1.375 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.835e-05/0.7091, allocations: 87.5 kB / 1.353 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.7091, allocations: 86.23 kB / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.7092, allocations: 5.406 kB / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.712e-05/0.7092, allocations: 0 / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.7092, allocations: 6.594 kB / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.7092, allocations: 1.375 kB / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.951e-05/0.7092, allocations: 101.5 kB / 1.353 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001726/0.7094, allocations: 8.25 kB / 1.353 GB, free: 13.15 MB / 0.8073 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 7.83e-05/0.7095, allocations: 97.11 kB / 1.353 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.582e-05/0.7096, allocations: 17.44 kB / 1.353 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7096, allocations: 0 / 1.353 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.016e-05/0.7096, allocations: 9.562 kB / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.7097, allocations: 10.69 kB / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002331/0.7099, allocations: 97.31 kB / 1.354 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.7101, allocations: 0.7105 MB / 1.354 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of SimCode: time 2.31e-07/0.7101, allocations: 0 / 1.354 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of Templates: time 0.001846/0.7119, allocations: 335.9 kB / 1.355 GB, free: 12.2 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches