Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.987/1.987, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.00131/0.00131, allocations: 185.2 kB / 487 MB, free: 5.316 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.263/1.263, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.0008923/0.0008923, allocations: 100.6 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/6.993e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2444, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.738/0.9824, allocations: 161.1 MB / 1.363 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.9827, allocations: 78.11 kB / 1.363 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.08228/1.065, allocations: 26.65 MB / 1.389 GB, free: 8.461 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.594e-05/1.065, allocations: 16 kB / 1.389 GB, free: 8.445 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.001159/1.066, allocations: 0.8121 MB / 1.389 GB, free: 7.629 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.066, allocations: 9.031 kB / 1.389 GB, free: 7.621 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/1.066, allocations: 79.06 kB / 1.39 GB, free: 7.543 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/1.069, allocations: 1.238 MB / 1.391 GB, free: 6.551 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/1.069, allocations: 12 kB / 1.391 GB, free: 6.539 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.28e-05/1.069, allocations: 27.91 kB / 1.391 GB, free: 6.512 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003698/1.069, allocations: 219.5 kB / 1.391 GB, free: 6.359 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/1.07, allocations: 329.6 kB / 1.391 GB, free: 6.074 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/1.07, allocations: 3.938 kB / 1.391 GB, free: 6.07 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/1.07, allocations: 7.984 kB / 1.391 GB, free: 6.062 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/1.07, allocations: 4 kB / 1.391 GB, free: 6.059 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/1.072, allocations: 1.935 MB / 1.393 GB, free: 4.352 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004129/1.072, allocations: 278.9 kB / 1.393 GB, free: 4.133 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/1.072, allocations: 127.3 kB / 1.394 GB, free: 4.039 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/1.072, allocations: 0 / 1.394 GB, free: 4.039 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/1.073, allocations: 33.94 kB / 1.394 GB, free: 4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/1.073, allocations: 0 / 1.394 GB, free: 4 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.000557/1.073, allocations: 342.2 kB / 1.394 GB, free: 3.711 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/1.073, allocations: 55.41 kB / 1.394 GB, free: 3.645 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/1.074, allocations: 0.8846 MB / 1.395 GB, free: 2.977 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/1.074, allocations: 25.7 kB / 1.395 GB, free: 2.945 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/1.074, allocations: 215.6 kB / 1.395 GB, free: 2.758 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/1.074, allocations: 73.12 kB / 1.395 GB, free: 2.695 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/1.074, allocations: 0 / 1.395 GB, free: 2.695 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.075, allocations: 370.8 kB / 1.396 GB, free: 2.348 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/1.075, allocations: 239.5 kB / 1.396 GB, free: 2.172 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/1.075, allocations: 494.8 kB / 1.396 GB, free: 1.629 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/1.076, allocations: 303.2 kB / 1.397 GB, free: 1.398 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.076, allocations: 0 / 1.397 GB, free: 1.398 MB / 0.823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001009/1.077, allocations: 0.7514 MB / 1.397 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.077, allocations: 8.156 kB / 1.397 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.077, allocations: 8 kB / 1.397 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/1.077, allocations: 55.89 kB / 1.397 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/1.078, allocations: 134.9 kB / 1.397 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/1.079, allocations: 1.417 MB / 1.399 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009116/1.08, allocations: 131.5 kB / 1.399 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/1.08, allocations: 31.67 kB / 1.399 GB, free: 14.96 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.0001194/1.08, allocations: 132.1 kB / 1.399 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/1.08, allocations: 63.16 kB / 1.399 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/1.08, allocations: 62.7 kB / 1.399 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/1.08, allocations: 0 / 1.399 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.08, allocations: 4 kB / 1.399 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.08, allocations: 0 / 1.399 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007202/1.081, allocations: 0.6268 MB / 1.4 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.081, allocations: 0 / 1.4 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/1.081, allocations: 51.28 kB / 1.4 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001306/1.081, allocations: 43.12 kB / 1.4 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/1.081, allocations: 4 kB / 1.4 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/1.083, allocations: 1.411 MB / 1.401 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.083, allocations: 160 / 1.401 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006142/1.083, allocations: 0.5508 MB / 1.402 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/1.084, allocations: 359.2 kB / 1.402 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.203e-05/1.084, allocations: 7.25 kB / 1.402 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/1.084, allocations: 51.92 kB / 1.402 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/1.084, allocations: 15.89 kB / 1.402 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/1.084, allocations: 10.86 kB / 1.402 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0008805/1.085, allocations: 0.6624 MB / 1.403 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008344/1.086, allocations: 187.8 kB / 1.403 GB, free: 11.09 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.0004354/1.086, allocations: 180.3 kB / 1.403 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008899/1.087, allocations: 0.5417 MB / 1.404 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.087, allocations: 0 / 1.404 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002952/1.088, allocations: 231.4 kB / 1.404 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007195/1.088, allocations: 141.8 kB / 1.404 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/1.09, allocations: 1.251 MB / 1.405 GB, free: 8.992 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007682/1.091, allocations: 1.058 MB / 1.406 GB, free: 7.961 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.091, allocations: 0 / 1.406 GB, free: 7.961 MB / 0.8386 GB Notification: Performance of Templates: time 0.01321/1.104, allocations: 7.224 MB / 1.413 GB, free: 0.8477 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches