Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer") [: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.193/1.193, allocations: 249.4 MB / 256.7 MB, free: 6.941 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.001093/0.001093, allocations: 185.2 kB / 316 MB, free: 3.555 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.08/1.08, allocations: 205.2 MB / 0.5667 GB, free: 15.63 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.0008263/0.0008262, allocations: 75.42 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.889e-06/4.9e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1447, allocations: 106.3 MB / 0.8845 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4238/0.5685, allocations: 141.5 MB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001754/0.5688, allocations: 79.39 kB / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.057/0.6258, allocations: 17.5 MB / 1.04 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.531e-05/0.6258, allocations: 19.94 kB / 1.04 GB, free: 14.72 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001281/0.6271, allocations: 0.9354 MB / 1.041 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.6272, allocations: 8.031 kB / 1.041 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.6274, allocations: 98.78 kB / 1.041 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.6295, allocations: 1.079 MB / 1.042 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.6295, allocations: 8 kB / 1.042 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.6296, allocations: 36.73 kB / 1.042 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002946/0.6299, allocations: 188 kB / 1.042 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.6303, allocations: 344.1 kB / 1.043 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.6304, allocations: 3.906 kB / 1.043 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.6304, allocations: 0 / 1.043 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.6304, allocations: 12 kB / 1.043 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.6325, allocations: 2.161 MB / 1.045 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.633, allocations: 312.8 kB / 1.045 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.6332, allocations: 142.5 kB / 1.045 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.6332, allocations: 8.219 kB / 1.045 GB, free: 9.953 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.6332, allocations: 37.86 kB / 1.045 GB, free: 9.91 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=28): time 1.343e-06/0.6332, allocations: 0 / 1.045 GB, free: 9.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30): time 0.00136/0.6346, allocations: 0.931 MB / 1.046 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.6346, allocations: 63.41 kB / 1.046 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008174/0.6355, allocations: 0.7609 MB / 1.047 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.6355, allocations: 25.7 kB / 1.047 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.6357, allocations: 253.8 kB / 1.047 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.6358, allocations: 108.8 kB / 1.047 GB, free: 8.059 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/0.6358, allocations: 0 / 1.047 GB, free: 8.059 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.636, allocations: 398.5 kB / 1.048 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.6362, allocations: 203 kB / 1.048 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.6366, allocations: 0.5894 MB / 1.048 GB, free: 6.855 MB / 0.6667 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3])) Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.6384, allocations: 1.018 MB / 1.049 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.6384, allocations: 4 kB / 1.049 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001012/0.6395, allocations: 0.7767 MB / 1.05 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.6395, allocations: 4 kB / 1.05 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.6395, allocations: 20.12 kB / 1.05 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.6397, allocations: 51.39 kB / 1.05 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/0.6403, allocations: 205.8 kB / 1.05 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009434/0.6413, allocations: 1.325 MB / 1.052 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007921/0.6421, allocations: 51.95 kB / 1.052 GB, free: 3.586 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.6421, allocations: 42.94 kB / 1.052 GB, free: 3.551 MB / 0.6667 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.6423, allocations: 164.1 kB / 1.052 GB, free: 3.391 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.6424, allocations: 78.97 kB / 1.052 GB, free: 3.312 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.6425, allocations: 71.59 kB / 1.052 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.6425, allocations: 4 kB / 1.052 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6425, allocations: 4 kB / 1.052 GB, free: 3.262 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6425, allocations: 0 / 1.052 GB, free: 3.262 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.6439, allocations: 1.123 MB / 1.053 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6439, allocations: 7.969 kB / 1.053 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.6443, allocations: 79.45 kB / 1.053 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.6444, allocations: 32.33 kB / 1.053 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.6445, allocations: 4 kB / 1.053 GB, free: 2.191 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000845/0.6453, allocations: 1.309 MB / 1.055 GB, free: 0.8164 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6453, allocations: 160 / 1.055 GB, free: 0.8164 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006786/0.646, allocations: 0.68 MB / 1.055 GB, free: 204 kB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.6463, allocations: 206.6 kB / 1.055 GB, free: 0 / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.6464, allocations: 8.547 kB / 1.055 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.6469, allocations: 27.81 kB / 1.056 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.647, allocations: 14.67 kB / 1.056 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.647, allocations: 11.38 kB / 1.056 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005655/0.6476, allocations: 0.5605 MB / 1.056 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006401/0.6482, allocations: 191.1 kB / 1.056 GB, free: 15.35 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002115/0.6485, allocations: 167.3 kB / 1.056 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008275/0.6493, allocations: 0.5891 MB / 1.057 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6493, allocations: 0 / 1.057 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.6496, allocations: 247.4 kB / 1.057 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006064/0.6502, allocations: 151 kB / 1.057 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.652, allocations: 1.273 MB / 1.059 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006739/0.6527, allocations: 1.052 MB / 1.06 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/0.6527, allocations: 4 kB / 1.06 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of Templates: time 0.0132/0.6659, allocations: 7.555 MB / 1.067 GB, free: 4.629 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches