Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") [: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.179/1.179, allocations: 249.4 MB / 256.7 MB, free: 7.051 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.001008/0.001008, allocations: 177.3 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.058/1.058, allocations: 205.1 MB / 0.5667 GB, free: 15.6 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.0008227/0.0008228, allocations: 88.58 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.271e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1506, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4453/0.5959, allocations: 144.6 MB / 1.026 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001782/0.5962, allocations: 75.83 kB / 1.026 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.08203/0.6782, allocations: 26.34 MB / 1.052 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.664e-05/0.6783, allocations: 15.94 kB / 1.052 GB, free: 4.828 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.001201/0.6795, allocations: 0.8001 MB / 1.052 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.6796, allocations: 8.031 kB / 1.052 GB, free: 4.012 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.6797, allocations: 79.06 kB / 1.052 GB, free: 3.934 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.6819, allocations: 1.249 MB / 1.054 GB, free: 2.934 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.6819, allocations: 4 kB / 1.054 GB, free: 2.93 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/0.682, allocations: 27.98 kB / 1.054 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003253/0.6823, allocations: 208.5 kB / 1.054 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.6828, allocations: 340.6 kB / 1.054 GB, free: 2.465 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.6828, allocations: 4.75 kB / 1.054 GB, free: 2.461 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.6828, allocations: 3.906 kB / 1.054 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.6828, allocations: 4 kB / 1.054 GB, free: 2.453 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.6849, allocations: 1.931 MB / 1.056 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/0.6854, allocations: 278.2 kB / 1.056 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.6856, allocations: 132.3 kB / 1.056 GB, free: 444 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.6856, allocations: 3.938 kB / 1.057 GB, free: 440 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.6856, allocations: 34.56 kB / 1.057 GB, free: 396 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 2.154e-06/0.6856, allocations: 0 / 1.057 GB, free: 396 kB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0005998/0.6862, allocations: 329.2 kB / 1.057 GB, free: 112 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.6863, allocations: 67.03 kB / 1.057 GB, free: 36 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.6874, allocations: 0.891 MB / 1.058 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.6874, allocations: 29.7 kB / 1.058 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.6876, allocations: 211.5 kB / 1.058 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.13e-05/0.6877, allocations: 58.23 kB / 1.058 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.718e-05/0.6877, allocations: 0 / 1.058 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6878, allocations: 384.6 kB / 1.058 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.6881, allocations: 234.1 kB / 1.059 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.6885, allocations: 491.6 kB / 1.059 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.6888, allocations: 306.9 kB / 1.059 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.6888, allocations: 4 kB / 1.059 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009331/0.6898, allocations: 0.7392 MB / 1.06 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6898, allocations: 7.984 kB / 1.06 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.6898, allocations: 12.09 kB / 1.06 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002152/0.69, allocations: 55.7 kB / 1.06 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.6905, allocations: 131.2 kB / 1.06 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.6916, allocations: 1.419 MB / 1.062 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008561/0.6925, allocations: 131.3 kB / 1.062 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.6925, allocations: 31.25 kB / 1.062 GB, free: 11.34 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 0.0001063/0.6926, allocations: 132.6 kB / 1.062 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.121e-05/0.6927, allocations: 62.62 kB / 1.062 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.341e-05/0.6928, allocations: 60.89 kB / 1.062 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6928, allocations: 4 kB / 1.062 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6929, allocations: 3.906 kB / 1.062 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.6929, allocations: 4 kB / 1.062 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000583/0.6935, allocations: 0.6203 MB / 1.063 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6935, allocations: 4 kB / 1.063 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.6937, allocations: 51.19 kB / 1.063 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.6939, allocations: 43.25 kB / 1.063 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.6939, allocations: 8 kB / 1.063 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009268/0.6948, allocations: 1.403 MB / 1.064 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6948, allocations: 0 / 1.064 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005829/0.6954, allocations: 0.5574 MB / 1.065 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/0.6958, allocations: 345.8 kB / 1.065 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.456e-05/0.6959, allocations: 15.52 kB / 1.065 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005111/0.6964, allocations: 51.92 kB / 1.065 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.6965, allocations: 11.92 kB / 1.065 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.6965, allocations: 8 kB / 1.065 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006791/0.6972, allocations: 0.6706 MB / 1.066 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005996/0.6978, allocations: 191.2 kB / 1.066 GB, free: 7.477 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.0002499/0.698, allocations: 168.2 kB / 1.066 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006646/0.6987, allocations: 0.5376 MB / 1.067 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6987, allocations: 0 / 1.067 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.699, allocations: 238.7 kB / 1.067 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/0.6996, allocations: 145.5 kB / 1.067 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.7014, allocations: 1.248 MB / 1.068 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006535/0.702, allocations: 1.059 MB / 1.069 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of SimCode: time 2.81e-07/0.702, allocations: 0 / 1.069 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of Templates: time 0.01195/0.714, allocations: 7.225 MB / 1.076 GB, free: 13.24 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches