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_gal.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_gal,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_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,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_gal") [: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.384/1.384, allocations: 249.4 MB / 256.7 MB, free: 6.926 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.001233/0.001233, allocations: 189.2 kB / 316 MB, free: 3.52 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.485/1.485, allocations: 205.2 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.001058/0.001058, allocations: 82.34 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.174e-06/7.284e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1615, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4773/0.6389, allocations: 131.7 MB / 1.013 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.6392, allocations: 70.77 kB / 1.013 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002633/0.6418, allocations: 0.8395 MB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.6418, allocations: 4 kB / 1.014 GB, free: 6.188 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.0003786/0.6422, allocations: 369.5 kB / 1.014 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.6423, allocations: 8.031 kB / 1.014 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.6423, allocations: 12.66 kB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.6425, allocations: 178 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.6425, allocations: 4 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.6425, allocations: 4 kB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.26e-05/0.6426, allocations: 34.28 kB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.6427, allocations: 85.83 kB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.6427, allocations: 0 / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.6428, allocations: 4 kB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.6428, allocations: 7.938 kB / 1.015 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.6433, allocations: 414 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.993e-05/0.6433, allocations: 41.09 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.6434, allocations: 17.59 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.6434, allocations: 0 / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.6434, allocations: 43.27 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.6434, allocations: 6.734 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001567/0.6436, allocations: 40.77 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.6436, allocations: 81.02 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.6437, allocations: 125.7 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.6438, allocations: 25.7 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.6438, allocations: 107.1 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-06/0.6438, allocations: 7.891 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.6438, allocations: 64 / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.6439, allocations: 322.3 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.644, allocations: 4 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.349e-05/0.644, allocations: 17.59 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.296e-05/0.644, allocations: 11.05 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.644, allocations: 3.906 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.155e-05/0.6441, allocations: 56.39 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.6441, allocations: 8.062 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.6441, allocations: 0 / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.6442, allocations: 3.906 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.607e-05/0.6442, allocations: 11.98 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.6442, allocations: 0 / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.6443, allocations: 3.938 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.6443, allocations: 5.5 kB / 1.016 GB, free: 4.039 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.368e-05/0.6444, allocations: 103.4 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.6444, allocations: 7.906 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.6444, allocations: 15.17 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.6445, allocations: 0 / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6445, allocations: 8.125 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.6445, allocations: 0 / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.6448, allocations: 454.7 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6448, allocations: 0 / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.78e-05/0.6449, allocations: 7.984 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.6449, allocations: 4.062 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.6449, allocations: 0 / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6449, allocations: 3.938 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.6449, allocations: 5.062 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.868e-05/0.645, allocations: 82.38 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.645, allocations: 85 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.6451, allocations: 11.97 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.304e-05/0.6451, allocations: 0 / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.6451, allocations: 3.906 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.6451, allocations: 3.312 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.504e-05/0.6452, allocations: 104.5 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001753/0.6454, allocations: 8 kB / 1.017 GB, free: 3.09 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.573e-05/0.6455, allocations: 95.25 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.6456, allocations: 27.06 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6456, allocations: 0 / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.08e-05/0.6456, allocations: 4 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.903e-05/0.6457, allocations: 11.03 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.646, allocations: 111.6 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.6463, allocations: 0.7116 MB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.6463, allocations: 0 / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of Templates: time 0.001867/0.6481, allocations: 376.1 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches