Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.97/1.97, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 173.3 kB / 490.8 MB, free: 1.957 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 221.3 MB / 0.7863 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008932/0.0008932, allocations: 95.28 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.951e-06/6.031e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2381, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6624/0.9005, allocations: 158.8 MB / 1.367 GB, free: 17.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.9008, allocations: 78.09 kB / 1.367 GB, free: 17.17 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.06402/0.9648, allocations: 17.68 MB / 1.384 GB, free: 14.02 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.441e-05/0.965, allocations: 23.72 kB / 1.384 GB, free: 14.02 MB / 0.823 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.001565/0.9665, allocations: 0.9136 MB / 1.385 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.9666, allocations: 9.219 kB / 1.385 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.9668, allocations: 101.7 kB / 1.385 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.9692, allocations: 1.075 MB / 1.386 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.9693, allocations: 10.44 kB / 1.386 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.9694, allocations: 37.16 kB / 1.386 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004088/0.9698, allocations: 192.2 kB / 1.386 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.9703, allocations: 347.2 kB / 1.387 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.9703, allocations: 5.406 kB / 1.387 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.9703, allocations: 0.9375 kB / 1.387 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.9703, allocations: 11.84 kB / 1.387 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.9725, allocations: 2.161 MB / 1.389 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.9731, allocations: 309.6 kB / 1.389 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.9733, allocations: 140.1 kB / 1.389 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.9733, allocations: 3.484 kB / 1.389 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.9733, allocations: 43.19 kB / 1.389 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.654e-06/0.9733, allocations: 0 / 1.389 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.001437/0.9748, allocations: 0.9333 MB / 1.39 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.9748, allocations: 55.03 kB / 1.39 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009291/0.9757, allocations: 0.76 MB / 1.391 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.9758, allocations: 25.7 kB / 1.391 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.9759, allocations: 255.5 kB / 1.391 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.976, allocations: 107.9 kB / 1.391 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/0.976, allocations: 0 / 1.391 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.9762, allocations: 394.8 kB / 1.392 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.9765, allocations: 207 kB / 1.392 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/0.977, allocations: 0.5853 MB / 1.392 GB, free: 24.93 MB / 0.8386 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.001943/0.9789, allocations: 1.022 MB / 1.393 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.979, allocations: 4.875 kB / 1.393 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001127/0.9801, allocations: 0.7773 MB / 1.394 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.9801, allocations: 6.938 kB / 1.394 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.9802, allocations: 13.91 kB / 1.394 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.9804, allocations: 51.75 kB / 1.394 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006812/0.9811, allocations: 212.7 kB / 1.394 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.9821, allocations: 1.323 MB / 1.396 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.9831, allocations: 46.58 kB / 1.396 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.9832, allocations: 41.5 kB / 1.396 GB, free: 22.91 MB / 0.8386 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.00016/0.9833, allocations: 164.1 kB / 1.396 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.9835, allocations: 81.88 kB / 1.396 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.9836, allocations: 76.06 kB / 1.396 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.9836, allocations: 2.656 kB / 1.396 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.9836, allocations: 1.281 kB / 1.396 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.9836, allocations: 0 / 1.396 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.9852, allocations: 1.122 MB / 1.397 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.9852, allocations: 1.094 kB / 1.397 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/0.9856, allocations: 81.73 kB / 1.397 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/0.9858, allocations: 37.17 kB / 1.397 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.9858, allocations: 11.52 kB / 1.397 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009263/0.9867, allocations: 1.311 MB / 1.399 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.9867, allocations: 1.5 kB / 1.399 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008206/0.9876, allocations: 0.6791 MB / 1.399 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.9878, allocations: 208 kB / 1.4 GB, free: 20.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.988, allocations: 7.562 kB / 1.4 GB, free: 20.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/0.9886, allocations: 32.48 kB / 1.4 GB, free: 20.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.9886, allocations: 19.73 kB / 1.4 GB, free: 20.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.9887, allocations: 10.22 kB / 1.4 GB, free: 20.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.000819/0.9895, allocations: 0.5561 MB / 1.4 GB, free: 20.1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009482/0.9905, allocations: 192.1 kB / 1.4 GB, free: 20.1 MB / 0.8386 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.0002708/0.9907, allocations: 157.5 kB / 1.4 GB, free: 20 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00132/0.9921, allocations: 0.5812 MB / 1.401 GB, free: 19.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.9921, allocations: 4.875 kB / 1.401 GB, free: 19.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.9925, allocations: 255.3 kB / 1.401 GB, free: 19.68 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008413/0.9933, allocations: 145 kB / 1.401 GB, free: 19.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.9957, allocations: 1.273 MB / 1.403 GB, free: 18.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009397/0.9967, allocations: 1.06 MB / 1.404 GB, free: 18.07 MB / 0.8386 GB Notification: Performance of SimCode: time 1.252e-06/0.9967, allocations: 0 / 1.404 GB, free: 18.07 MB / 0.8386 GB Notification: Performance of Templates: time 0.01433/1.011, allocations: 7.561 MB / 1.411 GB, free: 11.57 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches