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_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.To_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.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_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.377/1.377, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.001239/0.001239, allocations: 188.5 kB / 316 MB, free: 3.609 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.429/1.429, allocations: 205.1 MB / 0.5667 GB, free: 15.78 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.0009086/0.0009087, allocations: 87.33 kB / 0.671 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.103e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1607, allocations: 106.3 MB / 0.8846 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4632/0.624, allocations: 131.7 MB / 1.013 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.6243, allocations: 63.66 kB / 1.013 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002928/0.6272, allocations: 0.849 MB / 1.014 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.6273, 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.0003589/0.6276, allocations: 371.8 kB / 1.014 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.6277, allocations: 8.031 kB / 1.014 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.6277, allocations: 11.89 kB / 1.014 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.6279, allocations: 182.8 kB / 1.015 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.6279, allocations: 4 kB / 1.015 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.628, allocations: 8 kB / 1.015 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.204e-05/0.6281, allocations: 32.47 kB / 1.015 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.6282, allocations: 80.64 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.6282, allocations: 7.938 kB / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.6282, allocations: 0 / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.6282, allocations: 0 / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.6287, allocations: 412 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.507e-05/0.6288, allocations: 41.09 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.6288, allocations: 17.81 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.6288, allocations: 3.984 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.6289, allocations: 41.09 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.6289, allocations: 0 / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001437/0.629, allocations: 41.2 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.6291, allocations: 89.02 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.6292, allocations: 121.5 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.6292, allocations: 25.7 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.6293, allocations: 106.6 kB / 1.016 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.524e-06/0.6293, allocations: 7.906 kB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.6293, allocations: 0 / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.6294, allocations: 317.8 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.6294, allocations: 7.5 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.459e-05/0.6294, allocations: 24.59 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.266e-05/0.6295, allocations: 7.062 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6295, allocations: 3.906 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.087e-05/0.6295, allocations: 56.62 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.437e-06/0.6296, allocations: 4 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6296, allocations: 0 / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.6296, allocations: 7.906 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/0.6297, allocations: 4 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.6297, allocations: 6.062 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.6297, allocations: 11.92 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.6297, allocations: 0 / 1.016 GB, free: 4.188 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 5.262e-05/0.6298, allocations: 107.4 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.6298, allocations: 7.906 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.6299, allocations: 15.45 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.6299, allocations: 0 / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.6299, allocations: 7.844 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.6299, allocations: 0 / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.6302, allocations: 452.4 kB / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6302, allocations: 4 kB / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.6303, allocations: 0 / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.6303, allocations: 4 kB / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.6303, allocations: 0 / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6303, allocations: 3.984 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6303, allocations: 0 / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.126e-05/0.6304, allocations: 91.88 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.6304, allocations: 89 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.6305, allocations: 0 / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.186e-05/0.6305, allocations: 0 / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.6305, allocations: 7.906 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.6305, allocations: 8.031 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.42e-05/0.6306, allocations: 105.8 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001905/0.6308, allocations: 8 kB / 1.017 GB, free: 3.23 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.056e-05/0.6309, allocations: 95.34 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.801e-05/0.631, allocations: 19.81 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.631, allocations: 0 / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.157e-05/0.631, allocations: 6.938 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.978e-05/0.6311, allocations: 8.156 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.6314, allocations: 113.8 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.6316, allocations: 0.7075 MB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.6316, allocations: 0 / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of Templates: time 0.001897/0.6335, allocations: 384.1 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches