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_bar.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_bar,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_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,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_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 7.0.3-maint.7.0.x/package.mo): time 1.321/1.321, allocations: 249.4 MB / 256.7 MB, free: 7.105 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.001028/0.001028, allocations: 181.2 kB / 316 MB, free: 3.551 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.503/1.503, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.001008/0.001008, allocations: 85.64 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.003e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2014, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6291/0.8306, allocations: 131.7 MB / 1.013 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.8309, allocations: 60.78 kB / 1.013 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002539/0.8334, allocations: 0.8426 MB / 1.014 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.8335, allocations: 0 / 1.014 GB, free: 6.273 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.0003414/0.8338, allocations: 369 kB / 1.014 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.8339, allocations: 8.031 kB / 1.014 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.8339, allocations: 11.47 kB / 1.014 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.8341, allocations: 190.8 kB / 1.015 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.8341, allocations: 7.984 kB / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.8341, allocations: 4 kB / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001325/0.8343, allocations: 36.84 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.8344, allocations: 77.38 kB / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.8344, allocations: 0 / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.8344, allocations: 3.984 kB / 1.015 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.8345, allocations: 0 / 1.015 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.835, allocations: 416.1 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.382e-05/0.8351, allocations: 41.59 kB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.836e-05/0.8351, allocations: 16.97 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.8351, allocations: 4.031 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.8351, allocations: 37.09 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.8351, allocations: 0 / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001732/0.8353, allocations: 49.12 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.8354, allocations: 81.02 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.8355, allocations: 118.7 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.8355, allocations: 36.64 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.8356, allocations: 108 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.812e-06/0.8356, allocations: 3.906 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.8356, allocations: 0 / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.8357, allocations: 318.4 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.8357, allocations: 11.12 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.8358, allocations: 21.16 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.178e-05/0.8358, allocations: 6.938 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.8358, allocations: 3.906 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.089e-05/0.8359, allocations: 51.5 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.8359, allocations: 11.94 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.8359, allocations: 0 / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.8359, allocations: 7.969 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.836, allocations: 4 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.836, allocations: 4 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/0.8361, allocations: 3.938 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.8361, allocations: 0 / 1.016 GB, free: 4.125 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.414e-05/0.8361, allocations: 103.4 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.8362, allocations: 11.89 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.8362, allocations: 14.39 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.8362, allocations: 0 / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.8363, allocations: 11.84 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.8363, allocations: 0 / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/0.8366, allocations: 453.9 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8367, allocations: 0 / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.8367, allocations: 0 / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.8367, allocations: 4 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.8367, allocations: 0 / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8367, allocations: 0 / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.8367, allocations: 7.062 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.551e-05/0.8368, allocations: 90.42 kB / 1.017 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.8369, allocations: 88.2 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.8369, allocations: 3.984 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.204e-05/0.8369, allocations: 0 / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.8369, allocations: 11.94 kB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.8369, allocations: 0 / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.832e-05/0.837, allocations: 104.9 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000176/0.8372, allocations: 8 kB / 1.017 GB, free: 3.172 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.0001093/0.8373, allocations: 98.19 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.279e-05/0.8374, allocations: 15.25 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8374, allocations: 0 / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.686e-05/0.8374, allocations: 15.19 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.8375, allocations: 11.84 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.8378, allocations: 106.4 kB / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.8381, allocations: 0.7075 MB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.8381, allocations: 0 / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of Templates: time 0.002183/0.8403, allocations: 395.6 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches