Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") [: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.181/1.181, allocations: 249.4 MB / 256.7 MB, free: 7.027 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.0008945/0.0008944, allocations: 185.2 kB / 316 MB, free: 3.523 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.027/1.027, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.0008504/0.0008504, allocations: 97.53 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.553e-06/6.583e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1398, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4293/0.5691, allocations: 144.6 MB / 1.026 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.5694, allocations: 81.2 kB / 1.026 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.08123/0.6506, allocations: 26.36 MB / 1.052 GB, free: 4.785 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.836e-05/0.6507, allocations: 15.94 kB / 1.052 GB, free: 4.77 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001073/0.6518, allocations: 0.798 MB / 1.052 GB, free: 3.965 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.6518, allocations: 12.03 kB / 1.052 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.652, allocations: 79 kB / 1.052 GB, free: 3.875 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.6541, allocations: 1.245 MB / 1.054 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.6541, allocations: 12 kB / 1.054 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.6542, allocations: 27.75 kB / 1.054 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003072/0.6545, allocations: 208.5 kB / 1.054 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.6549, allocations: 335.4 kB / 1.054 GB, free: 2.406 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.6549, allocations: 0 / 1.054 GB, free: 2.406 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.6549, allocations: 3.906 kB / 1.054 GB, free: 2.402 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.655, allocations: 12 kB / 1.054 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.6569, allocations: 1.927 MB / 1.056 GB, free: 0.6875 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.6573, allocations: 279.5 kB / 1.056 GB, free: 480 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.6575, allocations: 133.3 kB / 1.057 GB, free: 380 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.6575, allocations: 4 kB / 1.057 GB, free: 376 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.6575, allocations: 34.44 kB / 1.057 GB, free: 336 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.6575, allocations: 4 kB / 1.057 GB, free: 332 kB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0005192/0.658, allocations: 330.2 kB / 1.057 GB, free: 48 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.6581, allocations: 55.34 kB / 1.057 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009385/0.659, allocations: 0.895 MB / 1.058 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.6591, allocations: 25.7 kB / 1.058 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.6592, allocations: 212.4 kB / 1.058 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.751e-05/0.6593, allocations: 63.86 kB / 1.058 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/0.6593, allocations: 0 / 1.058 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6594, allocations: 383.2 kB / 1.058 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.6597, allocations: 232.7 kB / 1.059 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.6601, allocations: 498.9 kB / 1.059 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.6604, allocations: 307.1 kB / 1.059 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6604, allocations: 4 kB / 1.059 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009042/0.6613, allocations: 0.7332 MB / 1.06 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.6614, allocations: 10.48 kB / 1.06 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.6614, allocations: 12 kB / 1.06 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/0.6616, allocations: 51.7 kB / 1.06 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.662, allocations: 135.1 kB / 1.06 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.6631, allocations: 1.425 MB / 1.062 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008136/0.6639, allocations: 131.3 kB / 1.062 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.6639, allocations: 23.5 kB / 1.062 GB, free: 11.29 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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 9.838e-05/0.664, allocations: 131.8 kB / 1.062 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.09e-05/0.6641, allocations: 59.23 kB / 1.062 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.364e-05/0.6642, allocations: 66.64 kB / 1.062 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.6642, allocations: 4 kB / 1.062 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6643, allocations: 3.906 kB / 1.062 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.6643, allocations: 3.938 kB / 1.062 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.6648, allocations: 0.6285 MB / 1.063 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6649, allocations: 0 / 1.063 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.6651, allocations: 55.69 kB / 1.063 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/0.6652, allocations: 39.95 kB / 1.063 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.6653, allocations: 11.8 kB / 1.063 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009158/0.6662, allocations: 1.399 MB / 1.064 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6662, allocations: 0 / 1.064 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005774/0.6668, allocations: 0.5591 MB / 1.065 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/0.6671, allocations: 351.5 kB / 1.065 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.169e-05/0.6672, allocations: 11.89 kB / 1.065 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005096/0.6678, allocations: 52.02 kB / 1.065 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.6678, allocations: 14.86 kB / 1.065 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.6678, allocations: 4 kB / 1.065 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006611/0.6685, allocations: 0.6706 MB / 1.066 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005669/0.6691, allocations: 187.8 kB / 1.066 GB, free: 7.41 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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.000228/0.6693, allocations: 167.7 kB / 1.066 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006529/0.67, allocations: 0.5384 MB / 1.067 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.67, allocations: 0 / 1.067 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.6702, allocations: 232 kB / 1.067 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006101/0.6708, allocations: 145 kB / 1.067 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.6725, allocations: 1.254 MB / 1.068 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006243/0.6732, allocations: 1.057 MB / 1.069 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.6732, allocations: 0 / 1.069 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of Templates: time 0.0118/0.685, allocations: 7.227 MB / 1.076 GB, free: 13.18 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches