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_quad.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_quad,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_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,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_quad") [: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.349/1.349, allocations: 249.4 MB / 256.7 MB, free: 7.078 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.001053/0.001053, allocations: 192.3 kB / 316 MB, free: 3.539 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.561/1.561, 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.0009915/0.0009915, allocations: 90.64 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.015e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2213, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6292/0.8506, allocations: 131.7 MB / 1.013 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.8508, allocations: 72.11 kB / 1.013 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002535/0.8534, allocations: 0.8387 MB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.8534, allocations: 0.5625 kB / 1.014 GB, free: 6.355 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.0003367/0.8538, allocations: 368.9 kB / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8538, allocations: 16.03 kB / 1.014 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.8539, allocations: 7.906 kB / 1.014 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.854, allocations: 178.9 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.8541, allocations: 0 / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.8541, allocations: 10.19 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.764e-05/0.8542, allocations: 37.66 kB / 1.015 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.8543, allocations: 84.33 kB / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.8543, allocations: 0 / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.8544, allocations: 4 kB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.8544, allocations: 4 kB / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.8549, allocations: 425.2 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.517e-05/0.855, allocations: 37.25 kB / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.855, allocations: 17.09 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.855, allocations: 0 / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.855, allocations: 34.47 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.8551, allocations: 2.734 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001611/0.8552, allocations: 48.64 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.8553, allocations: 81.02 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.8554, allocations: 126.2 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.8554, allocations: 25.7 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.8555, allocations: 103.6 kB / 1.016 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.388e-06/0.8555, allocations: 11.89 kB / 1.016 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.8555, allocations: 0 / 1.016 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.8556, allocations: 318.3 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.8557, allocations: 7.938 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.392e-05/0.8557, allocations: 17.22 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.328e-05/0.8557, allocations: 14.73 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.8557, allocations: 3.906 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.929e-05/0.8558, allocations: 49.45 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.8558, allocations: 4 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.8559, allocations: 4.062 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.8559, allocations: 7.906 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.799e-05/0.8559, allocations: 7.984 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.856, allocations: 0 / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.856, allocations: 7.938 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.856, allocations: 0 / 1.016 GB, free: 4.207 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.909e-05/0.8561, allocations: 106.7 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.8561, allocations: 7.906 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.8562, allocations: 11.55 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8562, allocations: 4 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.8562, allocations: 4.125 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.8562, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.8566, allocations: 456.5 kB / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8566, allocations: 0 / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.8566, allocations: 7.984 kB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8566, allocations: 0 / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.8566, allocations: 12 kB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8566, allocations: 4 kB / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8566, allocations: 3.938 kB / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.701e-05/0.8567, allocations: 82.38 kB / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.8568, allocations: 89 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.8568, allocations: 0 / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.221e-05/0.8569, allocations: 4.031 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.8569, allocations: 3.906 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.8569, allocations: 7.375 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.234e-05/0.8569, allocations: 99.61 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001763/0.8571, allocations: 12 kB / 1.017 GB, free: 3.25 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.0001223/0.8573, allocations: 95.25 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.422e-05/0.8574, allocations: 22.44 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8574, allocations: 4.125 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.8574, allocations: 4 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.8575, allocations: 7.469 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.8578, allocations: 115.4 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.8581, allocations: 0.7075 MB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.8581, allocations: 4.125 kB / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.002242/0.8604, allocations: 376.5 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches