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_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.To_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.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_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.341/1.341, allocations: 249.4 MB / 256.7 MB, free: 6.957 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.001034/0.001034, allocations: 185.1 kB / 316 MB, free: 3.535 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.518/1.518, allocations: 205.1 MB / 0.5667 GB, free: 15.69 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.0009623/0.0009622, allocations: 85.52 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.296e-06/8.326e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2221, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6366/0.8588, allocations: 131.7 MB / 1.013 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.8591, allocations: 62.41 kB / 1.013 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002721/0.8619, allocations: 0.8412 MB / 1.014 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.8619, allocations: 0 / 1.014 GB, free: 6.328 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.0004133/0.8623, allocations: 372.4 kB / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.8624, allocations: 16.02 kB / 1.014 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.8624, allocations: 7.906 kB / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.8627, allocations: 181.9 kB / 1.015 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.8627, allocations: 4 kB / 1.015 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.8627, allocations: 4 kB / 1.015 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00011/0.8628, allocations: 37.66 kB / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.863, allocations: 83.89 kB / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.863, allocations: 0 / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.863, allocations: 0 / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.863, allocations: 4 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.8636, allocations: 411.6 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.288e-05/0.8637, allocations: 45.02 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/0.8637, allocations: 16.84 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.8637, allocations: 0 / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.8638, allocations: 35.34 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.8638, allocations: 6.734 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000179/0.864, allocations: 44.89 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.864, allocations: 81.02 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.8642, allocations: 119.4 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.8642, allocations: 25.7 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.8643, allocations: 110.6 kB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.897e-06/0.8643, allocations: 7.891 kB / 1.016 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.8643, allocations: 0 / 1.016 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.8644, allocations: 318.5 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.8644, allocations: 7.25 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.559e-05/0.8645, allocations: 20.53 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.8645, allocations: 11.36 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.8645, allocations: 3.906 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.425e-05/0.8646, allocations: 52.64 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.8646, allocations: 12.81 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.8646, allocations: 96 / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.8647, allocations: 7.891 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.345e-05/0.8647, allocations: 4 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.8648, allocations: 7.984 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/0.8648, allocations: 3.938 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.8648, allocations: 4 kB / 1.016 GB, free: 4.176 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.801e-05/0.8649, allocations: 103.4 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.8649, allocations: 11.84 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.865, allocations: 18.55 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.865, allocations: 3.938 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.865, allocations: 4.125 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.865, allocations: 0 / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.8654, allocations: 452.1 kB / 1.017 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8654, allocations: 0 / 1.017 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.8654, allocations: 4 kB / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8654, allocations: 4 kB / 1.017 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.8654, allocations: 7.984 kB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8654, allocations: 0 / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.8654, allocations: 3.984 kB / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.785e-05/0.8655, allocations: 82.06 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.8656, allocations: 92.75 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.8656, allocations: 4.031 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.113e-05/0.8657, allocations: 0 / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.8657, allocations: 7.906 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.8657, allocations: 0 / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.216e-05/0.8658, allocations: 107.8 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001739/0.866, allocations: 8 kB / 1.017 GB, free: 3.219 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.0001329/0.8661, allocations: 95.25 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.444e-05/0.8662, allocations: 23.06 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8662, allocations: 0 / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.8662, allocations: 7.375 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.8663, allocations: 11.17 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.8666, allocations: 113 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.8669, allocations: 0.7116 MB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.8669, allocations: 0 / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of Templates: time 0.002278/0.8692, allocations: 384.7 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches