Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.ConductorSingleLayer2,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.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,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.ConductorSingleLayer2") [: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.023/2.023, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001287/0.001287, allocations: 181.2 kB / 487 MB, free: 5.414 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.29/1.29, allocations: 221.3 MB / 0.7819 GB, free: 1.422 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.001019/0.001019, allocations: 103.3 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/6.984e-06, allocations: 8 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2161, allocations: 142.3 MB / 1.205 GB, free: 26.32 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6538/0.8699, allocations: 158.1 MB / 1.36 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.8702, allocations: 73.8 kB / 1.36 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.09886/0.9691, allocations: 27.87 MB / 1.387 GB, free: 9.934 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.15e-05/0.9692, allocations: 20 kB / 1.387 GB, free: 9.914 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.001461/0.9706, allocations: 0.9293 MB / 1.388 GB, free: 8.984 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.9707, allocations: 9.031 kB / 1.388 GB, free: 8.977 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/0.9709, allocations: 102.8 kB / 1.388 GB, free: 8.875 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/0.9732, allocations: 1.067 MB / 1.389 GB, free: 7.996 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.9732, allocations: 12 kB / 1.389 GB, free: 7.984 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/0.9733, allocations: 32 kB / 1.389 GB, free: 7.953 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003558/0.9736, allocations: 201.6 kB / 1.389 GB, free: 7.82 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.9742, allocations: 359.4 kB / 1.39 GB, free: 7.508 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.9742, allocations: 3.984 kB / 1.39 GB, free: 7.504 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.9742, allocations: 0 / 1.39 GB, free: 7.504 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.9742, allocations: 8 kB / 1.39 GB, free: 7.496 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.9768, allocations: 2.408 MB / 1.392 GB, free: 5.207 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/0.9774, allocations: 353.2 kB / 1.392 GB, free: 4.938 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.9776, allocations: 150.8 kB / 1.392 GB, free: 4.832 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.9776, allocations: 4 kB / 1.392 GB, free: 4.828 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.9776, allocations: 33.94 kB / 1.392 GB, free: 4.789 MB / 0.823 GB Notification: Performance of pre-optimization done (n=30): time 1.873e-06/0.9776, allocations: 3.938 kB / 1.392 GB, free: 4.785 MB / 0.823 GB Notification: Performance of matching and sorting (n=30): time 0.0008337/0.9785, allocations: 452.9 kB / 1.393 GB, free: 4.402 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.9785, allocations: 55.41 kB / 1.393 GB, free: 4.336 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009297/0.9795, allocations: 0.769 MB / 1.394 GB, free: 3.754 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.9795, allocations: 25.7 kB / 1.394 GB, free: 3.723 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.9797, allocations: 252.3 kB / 1.394 GB, free: 3.512 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.9798, allocations: 106.7 kB / 1.394 GB, free: 3.418 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.9798, allocations: 0 / 1.394 GB, free: 3.418 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002306/0.9801, allocations: 400.4 kB / 1.394 GB, free: 3.055 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.9804, allocations: 229.9 kB / 1.395 GB, free: 2.895 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.981, allocations: 0.616 MB / 1.395 GB, free: 2.172 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.9814, allocations: 325.3 kB / 1.396 GB, free: 1.926 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.9814, allocations: 4 kB / 1.396 GB, free: 1.922 MB / 0.823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00139/0.9828, allocations: 0.9045 MB / 1.396 GB, free: 1.148 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.9828, allocations: 4 kB / 1.396 GB, free: 1.145 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.9828, allocations: 20 kB / 1.396 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003784/0.9832, allocations: 121.8 kB / 1.397 GB, free: 1.012 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/0.9839, allocations: 190.4 kB / 1.397 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.987, allocations: 4.008 MB / 1.401 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.9882, allocations: 107 kB / 1.401 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-05/0.9883, allocations: 46.3 kB / 1.401 GB, free: 12.52 MB / 0.8386 GB 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 (93): * Single equations (assignments): 90 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.9885, allocations: 144.3 kB / 1.401 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.9886, allocations: 74.97 kB / 1.401 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.9888, allocations: 80.28 kB / 1.401 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.9888, allocations: 4 kB / 1.401 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.9888, allocations: 0 / 1.401 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9888, allocations: 0 / 1.401 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007566/0.9896, allocations: 0.6664 MB / 1.402 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.9896, allocations: 4 kB / 1.402 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003668/0.99, allocations: 63.89 kB / 1.402 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002975/0.9903, allocations: 100.4 kB / 1.402 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.9903, allocations: 4 kB / 1.402 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003014/0.9933, allocations: 3.991 MB / 1.406 GB, free: 7.379 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9934, allocations: 4.062 kB / 1.406 GB, free: 7.375 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009832/0.9943, allocations: 0.705 MB / 1.407 GB, free: 6.781 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/0.9947, allocations: 221 kB / 1.407 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.9948, allocations: 4 kB / 1.407 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006469/0.9955, allocations: 27.97 kB / 1.407 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.9955, allocations: 18.88 kB / 1.407 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.9956, allocations: 8 kB / 1.407 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007517/0.9963, allocations: 0.5571 MB / 1.407 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001049/0.9974, allocations: 283.8 kB / 1.408 GB, free: 5.84 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003139/0.9977, allocations: 163.9 kB / 1.408 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.999, allocations: 0.8468 MB / 1.409 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.999, allocations: 192 / 1.409 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005445/0.9996, allocations: 484.1 kB / 1.409 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006785/1, allocations: 144.5 kB / 1.409 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/1.002, allocations: 1.392 MB / 1.411 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000741/1.003, allocations: 1.053 MB / 1.412 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/1.003, allocations: 0 / 1.412 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of Templates: time 0.01607/1.019, allocations: 8.74 MB / 1.42 GB, free: 9.344 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches