Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [: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.787/1.787, 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.001113/0.001113, allocations: 189.2 kB / 487 MB, free: 5.348 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.128/1.128, allocations: 221.3 MB / 0.7819 GB, free: 1.418 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.0008831/0.0008831, allocations: 87.86 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.382e-06/6.412e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1954, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.526/0.7214, allocations: 148 MB / 1.35 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.7217, allocations: 62.95 kB / 1.35 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002114/0.7238, allocations: 0.776 MB / 1.351 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.7238, allocations: 1.25 kB / 1.351 GB, free: 15.73 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.0002245/0.7241, allocations: 351.8 kB / 1.351 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.7241, allocations: 10.25 kB / 1.351 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.7241, allocations: 11.44 kB / 1.351 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.7243, allocations: 178 kB / 1.351 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.7243, allocations: 2.781 kB / 1.351 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.7243, allocations: 5.062 kB / 1.351 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.654e-05/0.7244, allocations: 37.81 kB / 1.351 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.7245, allocations: 81.97 kB / 1.351 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.7245, allocations: 0 / 1.351 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.7245, allocations: 1.312 kB / 1.351 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.7245, allocations: 1.344 kB / 1.351 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.7249, allocations: 412.4 kB / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.773e-05/0.725, allocations: 44.59 kB / 1.352 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.725, allocations: 18.28 kB / 1.352 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.725, allocations: 1.281 kB / 1.352 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.149e-05/0.7251, allocations: 33.41 kB / 1.352 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.7251, allocations: 0.75 kB / 1.352 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001334/0.7252, allocations: 49.09 kB / 1.352 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.7252, allocations: 78.42 kB / 1.352 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.7253, allocations: 114.7 kB / 1.352 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.7253, allocations: 25.7 kB / 1.352 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.7254, allocations: 116.9 kB / 1.352 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.26e-06/0.7254, allocations: 5.031 kB / 1.352 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.7254, allocations: 0 / 1.352 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.968e-05/0.7254, allocations: 319.8 kB / 1.352 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.7254, allocations: 10.59 kB / 1.352 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.7255, allocations: 18.81 kB / 1.352 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.006e-05/0.7255, allocations: 9.109 kB / 1.352 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.7255, allocations: 0 / 1.352 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.64e-05/0.7256, allocations: 55.27 kB / 1.352 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.7256, allocations: 5.906 kB / 1.352 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.7256, allocations: 0 / 1.352 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.7256, allocations: 5.625 kB / 1.352 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.817e-05/0.7257, allocations: 5.938 kB / 1.352 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.7257, allocations: 1.188 kB / 1.352 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.7257, allocations: 8.75 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.7257, allocations: 1.094 kB / 1.353 GB, free: 13.91 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.629e-05/0.7258, allocations: 107.7 kB / 1.353 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.7258, allocations: 7.906 kB / 1.353 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.7258, allocations: 8.719 kB / 1.353 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.7258, allocations: 0.8125 kB / 1.353 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.7258, allocations: 5.094 kB / 1.353 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.7259, allocations: 0 / 1.353 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.7261, allocations: 441.3 kB / 1.353 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.7261, allocations: 0 / 1.353 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.7261, allocations: 3.719 kB / 1.353 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.7261, allocations: 1.453 kB / 1.353 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.7261, allocations: 1.25 kB / 1.353 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.7261, allocations: 1.406 kB / 1.353 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7261, allocations: 5.938 kB / 1.353 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.601e-05/0.7262, allocations: 88.08 kB / 1.353 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.7262, allocations: 81.19 kB / 1.353 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.7263, allocations: 1.938 kB / 1.353 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.737e-05/0.7263, allocations: 0.9062 kB / 1.353 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.7263, allocations: 8.812 kB / 1.353 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.7263, allocations: 1.438 kB / 1.353 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.978e-05/0.7263, allocations: 107.8 kB / 1.353 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001681/0.7265, allocations: 8.25 kB / 1.353 GB, free: 13.07 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.7e-05/0.7266, allocations: 95.75 kB / 1.353 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.002e-05/0.7267, allocations: 15.52 kB / 1.353 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7267, allocations: 0 / 1.353 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.006e-06/0.7267, allocations: 11.81 kB / 1.353 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.493e-05/0.7268, allocations: 11.97 kB / 1.353 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001974/0.727, allocations: 105.8 kB / 1.354 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.7271, allocations: 0.7054 MB / 1.354 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of SimCode: time 8.31e-07/0.7271, allocations: 0 / 1.354 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of Templates: time 0.001797/0.7289, allocations: 335.7 kB / 1.355 GB, free: 12.12 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches