Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.ConductorSingleLayer2,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.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,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.ConductorSingleLayer2") [: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.19/1.19, allocations: 249.4 MB / 256.7 MB, free: 6.949 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.0009943/0.0009943, 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.067/1.067, allocations: 205.1 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.0008177/0.0008177, allocations: 90.16 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.27e-06/5.29e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1387, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4261/0.5648, allocations: 141.6 MB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.565, allocations: 78.66 kB / 1.023 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.0974/0.6625, allocations: 27.59 MB / 1.05 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.76e-05/0.6625, allocations: 19.98 kB / 1.05 GB, free: 6.621 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.001364/0.6639, allocations: 0.9403 MB / 1.051 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.664, allocations: 12.03 kB / 1.051 GB, free: 5.672 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.6642, allocations: 102.8 kB / 1.051 GB, free: 5.57 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.6662, allocations: 1.06 MB / 1.052 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.6663, allocations: 15.91 kB / 1.052 GB, free: 4.684 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/0.6663, allocations: 32 kB / 1.052 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003312/0.6667, allocations: 196 kB / 1.052 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.6671, allocations: 359.9 kB / 1.053 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.6671, allocations: 4 kB / 1.053 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.6672, allocations: 0 / 1.053 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.6672, allocations: 8 kB / 1.053 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.6694, allocations: 2.409 MB / 1.055 GB, free: 1.906 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.6699, allocations: 360.8 kB / 1.055 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.6701, allocations: 148.7 kB / 1.055 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.6701, allocations: 4 kB / 1.055 GB, free: 1.523 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.6702, allocations: 30.56 kB / 1.055 GB, free: 1.484 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=30): time 1.342e-06/0.6702, allocations: 0.75 kB / 1.055 GB, free: 1.484 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30): time 0.0007537/0.6709, allocations: 456.3 kB / 1.056 GB, free: 1.102 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.671, allocations: 55.41 kB / 1.056 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008171/0.6718, allocations: 0.7586 MB / 1.057 GB, free: 468 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.6718, allocations: 25.7 kB / 1.057 GB, free: 436 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.672, allocations: 251.2 kB / 1.057 GB, free: 220 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.6721, allocations: 116.7 kB / 1.057 GB, free: 116 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.6721, allocations: 0 / 1.057 GB, free: 116 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.6723, allocations: 402.1 kB / 1.057 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.6726, allocations: 227.1 kB / 1.058 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.6731, allocations: 0.6177 MB / 1.058 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.6735, allocations: 326.4 kB / 1.059 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.6735, allocations: 4 kB / 1.059 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001297/0.6748, allocations: 0.897 MB / 1.059 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.6749, allocations: 4 kB / 1.059 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.6749, allocations: 16 kB / 1.059 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003601/0.6752, allocations: 124.9 kB / 1.06 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000616/0.6759, allocations: 186.4 kB / 1.06 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.6787, allocations: 4.019 MB / 1.064 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.6798, allocations: 111 kB / 1.064 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/0.6799, allocations: 41.81 kB / 1.064 GB, free: 9.219 MB / 0.6823 GB 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 (93): * Single equations (assignments): 90 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.68, allocations: 135.8 kB / 1.064 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.6801, allocations: 90.86 kB / 1.064 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.6803, allocations: 70.92 kB / 1.064 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.6803, allocations: 7.938 kB / 1.064 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6803, allocations: 0 / 1.064 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6803, allocations: 8 kB / 1.064 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006617/0.681, allocations: 0.6595 MB / 1.065 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.681, allocations: 0 / 1.065 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.6813, allocations: 59.45 kB / 1.065 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002836/0.6816, allocations: 104.4 kB / 1.065 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.6816, allocations: 11.55 kB / 1.065 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002695/0.6843, allocations: 4 MB / 1.069 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6844, allocations: 0 / 1.069 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008405/0.6852, allocations: 0.6978 MB / 1.069 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.6855, allocations: 212.6 kB / 1.07 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.6856, allocations: 4 kB / 1.07 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006186/0.6862, allocations: 35.8 kB / 1.07 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.6863, allocations: 15.3 kB / 1.07 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.6863, allocations: 7 kB / 1.07 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005851/0.6869, allocations: 0.5568 MB / 1.07 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008007/0.6877, allocations: 279.6 kB / 1.071 GB, free: 2.547 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002089/0.6879, allocations: 172.1 kB / 1.071 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.689, allocations: 0.8384 MB / 1.072 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.689, allocations: 4 kB / 1.072 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004875/0.6895, allocations: 481.8 kB / 1.072 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006239/0.6901, allocations: 151.7 kB / 1.072 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.6923, allocations: 1.385 MB / 1.074 GB, free: 15.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006896/0.693, allocations: 1.05 MB / 1.075 GB, free: 14.67 MB / 0.698 GB Notification: Performance of SimCode: time 2.7e-07/0.693, allocations: 0 / 1.075 GB, free: 14.67 MB / 0.698 GB Notification: Performance of Templates: time 0.0154/0.7084, allocations: 8.729 MB / 1.083 GB, free: 6.055 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches