Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.087/2.087, 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.001276/0.001276, allocations: 171.9 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.32/1.32, allocations: 221.3 MB / 0.7819 GB, free: 1.48 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.001034/0.001033, allocations: 93.53 kB / 0.9213 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.572e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2325, allocations: 142.3 MB / 1.205 GB, free: 26.33 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6462/0.8787, allocations: 158 MB / 1.36 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.879, allocations: 72.31 kB / 1.36 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.05805/0.937, allocations: 17.68 MB / 1.377 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.144e-05/0.9371, allocations: 23.94 kB / 1.377 GB, free: 2.27 MB / 0.8073 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.00128/0.9384, allocations: 0.9153 MB / 1.378 GB, free: 1.363 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.9385, allocations: 12.03 kB / 1.378 GB, free: 1.352 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.9387, allocations: 102.8 kB / 1.378 GB, free: 1.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.9407, allocations: 1.077 MB / 1.379 GB, free: 388 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.9407, allocations: 11.94 kB / 1.379 GB, free: 376 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.9408, allocations: 39.91 kB / 1.379 GB, free: 336 kB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002864/0.9411, allocations: 182.5 kB / 1.379 GB, free: 212 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004381/0.9415, allocations: 345 kB / 1.379 GB, free: 15.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.9416, allocations: 3.938 kB / 1.379 GB, free: 15.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.9416, allocations: 4 kB / 1.38 GB, free: 15.89 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.9416, allocations: 8 kB / 1.38 GB, free: 15.89 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.9439, allocations: 2.163 MB / 1.382 GB, free: 13.89 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.9444, allocations: 308.5 kB / 1.382 GB, free: 13.66 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.9446, allocations: 142.2 kB / 1.382 GB, free: 13.55 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.9447, allocations: 4.234 kB / 1.382 GB, free: 13.55 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.9447, allocations: 34.42 kB / 1.382 GB, free: 13.51 MB / 0.823 GB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.9447, allocations: 0 / 1.382 GB, free: 13.51 MB / 0.823 GB Notification: Performance of matching and sorting (n=30): time 0.001478/0.9462, allocations: 0.9414 MB / 1.383 GB, free: 12.65 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.9462, allocations: 60.16 kB / 1.383 GB, free: 12.58 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008656/0.9471, allocations: 0.7602 MB / 1.384 GB, free: 12 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.9471, allocations: 25.7 kB / 1.384 GB, free: 11.97 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.9473, allocations: 254.5 kB / 1.384 GB, free: 11.76 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.9474, allocations: 103.8 kB / 1.384 GB, free: 11.67 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.9475, allocations: 0 / 1.384 GB, free: 11.67 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.9476, allocations: 396.1 kB / 1.385 GB, free: 11.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.9479, allocations: 201 kB / 1.385 GB, free: 11.17 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/0.9485, allocations: 0.5972 MB / 1.385 GB, free: 10.46 MB / 0.823 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.001986/0.9505, allocations: 1.028 MB / 1.386 GB, free: 9.559 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.9505, allocations: 4 kB / 1.386 GB, free: 9.555 MB / 0.823 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001133/0.9516, allocations: 0.7718 MB / 1.387 GB, free: 8.895 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.9516, allocations: 7.938 kB / 1.387 GB, free: 8.887 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.9517, allocations: 20.12 kB / 1.387 GB, free: 8.867 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.9518, allocations: 52.02 kB / 1.387 GB, free: 8.816 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/0.9525, allocations: 207.5 kB / 1.387 GB, free: 8.621 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.9536, allocations: 1.324 MB / 1.389 GB, free: 7.227 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008638/0.9545, allocations: 47.95 kB / 1.389 GB, free: 7.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.9546, allocations: 39.56 kB / 1.389 GB, free: 7.145 MB / 0.823 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.0001962/0.9548, allocations: 166.8 kB / 1.389 GB, free: 6.98 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.9549, allocations: 82.88 kB / 1.389 GB, free: 6.898 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.955, allocations: 74.28 kB / 1.389 GB, free: 6.855 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.955, allocations: 4 kB / 1.389 GB, free: 6.852 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9551, allocations: 4 kB / 1.389 GB, free: 6.848 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.9551, allocations: 0 / 1.389 GB, free: 6.848 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.9565, allocations: 1.122 MB / 1.39 GB, free: 5.898 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9566, allocations: 4.031 kB / 1.39 GB, free: 5.895 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/0.957, allocations: 83.45 kB / 1.39 GB, free: 5.816 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.9571, allocations: 36.19 kB / 1.39 GB, free: 5.781 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.9571, allocations: 7.906 kB / 1.39 GB, free: 5.773 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009678/0.9581, allocations: 1.299 MB / 1.392 GB, free: 4.414 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.9581, allocations: 4.156 kB / 1.392 GB, free: 4.41 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007433/0.9589, allocations: 0.6789 MB / 1.392 GB, free: 3.793 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/0.9591, allocations: 206.3 kB / 1.392 GB, free: 3.594 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.9593, allocations: 7.984 kB / 1.392 GB, free: 3.586 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005597/0.9598, allocations: 23.91 kB / 1.392 GB, free: 3.562 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.9599, allocations: 23.31 kB / 1.392 GB, free: 3.543 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.9599, allocations: 15.44 kB / 1.392 GB, free: 3.531 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006117/0.9605, allocations: 0.5499 MB / 1.393 GB, free: 3.133 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007408/0.9613, allocations: 192 kB / 1.393 GB, free: 2.945 MB / 0.823 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.0002406/0.9615, allocations: 164.5 kB / 1.393 GB, free: 2.785 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0008891/0.9624, allocations: 0.5832 MB / 1.394 GB, free: 2.297 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9624, allocations: 0 / 1.394 GB, free: 2.297 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.9627, allocations: 247.7 kB / 1.394 GB, free: 2.082 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006413/0.9634, allocations: 150.3 kB / 1.394 GB, free: 1.973 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.9654, allocations: 1.273 MB / 1.396 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007516/0.9662, allocations: 1.049 MB / 1.397 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/0.9662, allocations: 8 kB / 1.397 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of Templates: time 0.0149/0.9811, allocations: 7.56 MB / 1.404 GB, free: 8.297 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches