Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.95/1.95, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001141/0.001141, allocations: 193.2 kB / 490.8 MB, free: 1.918 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.404/1.404, allocations: 221.4 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009879/0.000988, allocations: 90.75 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.134e-06/7.164e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2188, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6868/0.9057, allocations: 158.9 MB / 1.367 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.906, allocations: 78.7 kB / 1.367 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.1017/1.008, allocations: 27.87 MB / 1.394 GB, free: 10.17 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.381e-05/1.008, allocations: 20.56 kB / 1.394 GB, free: 10.17 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.001678/1.009, allocations: 0.9323 MB / 1.395 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/1.009, allocations: 8.156 kB / 1.395 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/1.01, allocations: 106.7 kB / 1.395 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/1.012, allocations: 1.064 MB / 1.396 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/1.013, allocations: 10.47 kB / 1.396 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.992e-05/1.013, allocations: 35.91 kB / 1.396 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004446/1.013, allocations: 190.4 kB / 1.396 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/1.014, allocations: 363.6 kB / 1.397 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/1.014, allocations: 4.594 kB / 1.397 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/1.014, allocations: 1.469 kB / 1.397 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/1.014, allocations: 8.094 kB / 1.397 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002711/1.017, allocations: 2.407 MB / 1.399 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000675/1.017, allocations: 360.7 kB / 1.399 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/1.017, allocations: 151.4 kB / 1.4 GB, free: 22.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/1.018, allocations: 4.125 kB / 1.4 GB, free: 22.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/1.018, allocations: 39.75 kB / 1.4 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 3.166e-06/1.018, allocations: 4.562 kB / 1.4 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0009721/1.019, allocations: 445.7 kB / 1.4 GB, free: 22.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/1.019, allocations: 54.56 kB / 1.4 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/1.02, allocations: 0.762 MB / 1.401 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/1.02, allocations: 25.7 kB / 1.401 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/1.02, allocations: 246.8 kB / 1.401 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/1.02, allocations: 125 kB / 1.401 GB, free: 22.03 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/1.02, allocations: 0.6875 kB / 1.401 GB, free: 22.03 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1.02, allocations: 391.5 kB / 1.402 GB, free: 21.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/1.021, allocations: 229 kB / 1.402 GB, free: 21.67 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/1.021, allocations: 0.6187 MB / 1.402 GB, free: 21.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/1.022, allocations: 326.1 kB / 1.403 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/1.022, allocations: 7.625 kB / 1.403 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001601/1.024, allocations: 0.905 MB / 1.404 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.024, allocations: 12.16 kB / 1.404 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.024, allocations: 12 kB / 1.404 GB, free: 20.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/1.024, allocations: 119 kB / 1.404 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005958/1.025, allocations: 194 kB / 1.404 GB, free: 20.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/1.027, allocations: 4.011 MB / 1.408 GB, free: 16.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/1.029, allocations: 107 kB / 1.408 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/1.029, allocations: 42.62 kB / 1.408 GB, free: 15.96 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.0001432/1.029, allocations: 140.4 kB / 1.408 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/1.029, allocations: 78.97 kB / 1.408 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/1.029, allocations: 77.11 kB / 1.408 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.029, allocations: 4 kB / 1.408 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.029, allocations: 7.938 kB / 1.408 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/1.029, allocations: 3.984 kB / 1.408 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007054/1.03, allocations: 0.6611 MB / 1.409 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1.03, allocations: 0 / 1.409 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/1.03, allocations: 63.8 kB / 1.409 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002714/1.031, allocations: 106.8 kB / 1.409 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/1.031, allocations: 7.25 kB / 1.409 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002622/1.033, allocations: 3.994 MB / 1.413 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.033, allocations: 0 / 1.413 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007882/1.034, allocations: 0.7059 MB / 1.414 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/1.034, allocations: 219.4 kB / 1.414 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/1.034, allocations: 7.984 kB / 1.414 GB, free: 10 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006291/1.035, allocations: 23.97 kB / 1.414 GB, free: 9.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/1.035, allocations: 18.91 kB / 1.414 GB, free: 9.965 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/1.035, allocations: 15.84 kB / 1.414 GB, free: 9.953 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0005885/1.036, allocations: 0.5539 MB / 1.414 GB, free: 9.555 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009455/1.037, allocations: 275.8 kB / 1.415 GB, free: 9.285 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.0002483/1.037, allocations: 157.9 kB / 1.415 GB, free: 9.129 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001128/1.038, allocations: 0.8435 MB / 1.416 GB, free: 8.379 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.038, allocations: 3.938 kB / 1.416 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005749/1.039, allocations: 484.2 kB / 1.416 GB, free: 7.922 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007007/1.039, allocations: 147.5 kB / 1.416 GB, free: 7.816 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/1.042, allocations: 1.386 MB / 1.418 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007108/1.043, allocations: 1.051 MB / 1.419 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.043, allocations: 0 / 1.419 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of Templates: time 0.01642/1.059, allocations: 8.739 MB / 1.427 GB, free: 12.85 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches