Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") [: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 9.1.1-maint.9.1.x/package.mo): time 1.968/1.968, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001117/0.001117, allocations: 181.2 kB / 487 MB, free: 5.387 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.301/1.301, allocations: 221.3 MB / 0.7819 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 100.5 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.762e-06/6.792e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2319, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6696/0.9015, allocations: 161.2 MB / 1.363 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.9018, allocations: 71.41 kB / 1.363 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.08259/0.9844, allocations: 26.67 MB / 1.389 GB, free: 8.402 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.664e-05/0.9845, allocations: 16 kB / 1.389 GB, free: 8.387 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001244/0.9857, allocations: 0.8112 MB / 1.39 GB, free: 7.57 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.9858, allocations: 8.031 kB / 1.39 GB, free: 7.562 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.986, allocations: 79.06 kB / 1.39 GB, free: 7.484 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.9881, allocations: 1.244 MB / 1.391 GB, free: 6.488 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.9882, allocations: 8 kB / 1.391 GB, free: 6.48 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.9882, allocations: 27.91 kB / 1.391 GB, free: 6.453 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003322/0.9886, allocations: 216.8 kB / 1.391 GB, free: 6.301 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.989, allocations: 326.7 kB / 1.391 GB, free: 6.02 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.989, allocations: 3.938 kB / 1.391 GB, free: 6.016 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.9891, allocations: 7.984 kB / 1.391 GB, free: 6.008 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.9891, allocations: 4 kB / 1.391 GB, free: 6.004 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.9912, allocations: 1.933 MB / 1.393 GB, free: 4.297 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.9917, allocations: 274.8 kB / 1.394 GB, free: 4.082 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.9919, allocations: 134.4 kB / 1.394 GB, free: 3.988 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.9919, allocations: 4 kB / 1.394 GB, free: 3.984 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.992, allocations: 30.56 kB / 1.394 GB, free: 3.945 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 2.295e-06/0.992, allocations: 0 / 1.394 GB, free: 3.945 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.0007403/0.9927, allocations: 341.8 kB / 1.394 GB, free: 3.656 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.9928, allocations: 55.41 kB / 1.394 GB, free: 3.59 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.9939, allocations: 0.8868 MB / 1.395 GB, free: 2.922 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.9939, allocations: 25.7 kB / 1.395 GB, free: 2.891 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.9941, allocations: 213.5 kB / 1.395 GB, free: 2.703 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.9942, allocations: 68.95 kB / 1.395 GB, free: 2.645 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.9943, allocations: 0 / 1.395 GB, free: 2.645 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.9944, allocations: 375.7 kB / 1.396 GB, free: 2.293 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.9947, allocations: 234 kB / 1.396 GB, free: 2.121 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.9952, allocations: 499.1 kB / 1.396 GB, free: 1.574 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.9956, allocations: 300.1 kB / 1.397 GB, free: 1.344 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.9956, allocations: 4 kB / 1.397 GB, free: 1.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001033/0.9966, allocations: 0.7456 MB / 1.397 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.9967, allocations: 12 kB / 1.397 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.9967, allocations: 8 kB / 1.397 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002346/0.9969, allocations: 58.81 kB / 1.397 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.9974, allocations: 131.1 kB / 1.397 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.9987, allocations: 1.417 MB / 1.399 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009328/0.9997, allocations: 139.4 kB / 1.399 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.9997, allocations: 27.25 kB / 1.399 GB, free: 14.9 MB / 0.8386 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.0001663/0.9999, allocations: 124 kB / 1.399 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/1, allocations: 63.16 kB / 1.399 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/1, allocations: 65.14 kB / 1.399 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/1, allocations: 0 / 1.399 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/1, allocations: 3.984 kB / 1.399 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1, allocations: 8 kB / 1.399 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007427/1.001, allocations: 0.6226 MB / 1.4 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.001, allocations: 0 / 1.4 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/1.001, allocations: 51.53 kB / 1.4 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/1.001, allocations: 43.7 kB / 1.4 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/1.001, allocations: 7.984 kB / 1.4 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/1.002, allocations: 1.41 MB / 1.401 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.002, allocations: 160 / 1.401 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005942/1.003, allocations: 0.5514 MB / 1.402 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/1.003, allocations: 351.9 kB / 1.402 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/1.004, allocations: 11.67 kB / 1.402 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005279/1.004, allocations: 51.92 kB / 1.402 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/1.004, allocations: 15.89 kB / 1.402 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/1.004, allocations: 4 kB / 1.402 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007432/1.005, allocations: 0.6698 MB / 1.403 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006453/1.006, allocations: 195.3 kB / 1.403 GB, free: 11.03 MB / 0.8386 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.0002821/1.006, allocations: 162.6 kB / 1.403 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007382/1.007, allocations: 0.5439 MB / 1.404 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.007, allocations: 128 / 1.404 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/1.007, allocations: 233.9 kB / 1.404 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/1.007, allocations: 147 kB / 1.404 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/1.009, allocations: 1.252 MB / 1.405 GB, free: 8.938 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007245/1.01, allocations: 1.055 MB / 1.406 GB, free: 7.906 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.01, allocations: 0 / 1.406 GB, free: 7.906 MB / 0.8386 GB Notification: Performance of Templates: time 0.01339/1.024, allocations: 7.227 MB / 1.414 GB, free: 0.793 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches