Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.945/1.945, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001486/0.001486, allocations: 189.2 kB / 490.8 MB, free: 1.906 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.265/1.265, allocations: 221.4 MB / 0.7863 GB, free: 13.69 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.001042/0.001042, allocations: 97.28 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.132e-06/6.152e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2505, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6613/0.9118, allocations: 161.9 MB / 1.37 GB, free: 17.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/0.9122, allocations: 76.89 kB / 1.37 GB, free: 17.06 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.09022/1.002, allocations: 26.65 MB / 1.396 GB, free: 10.05 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001529/1.003, allocations: 19.56 kB / 1.396 GB, free: 10.05 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.002793/1.005, allocations: 0.806 MB / 1.397 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/1.006, allocations: 8.719 kB / 1.397 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007248/1.006, allocations: 80.62 kB / 1.397 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/1.01, allocations: 1.243 MB / 1.398 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/1.01, allocations: 7.188 kB / 1.398 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/1.01, allocations: 27.59 kB / 1.398 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000425/1.01, allocations: 213.3 kB / 1.398 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/1.011, allocations: 338 kB / 1.398 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/1.011, allocations: 0.7188 kB / 1.398 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/1.011, allocations: 0.6562 kB / 1.398 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/1.011, allocations: 6.219 kB / 1.398 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/1.014, allocations: 1.929 MB / 1.4 GB, free: 23.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/1.014, allocations: 278 kB / 1.401 GB, free: 23.42 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/1.014, allocations: 135.8 kB / 1.401 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/1.014, allocations: 6.234 kB / 1.401 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/1.014, allocations: 35.66 kB / 1.401 GB, free: 23.35 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/1.014, allocations: 0 / 1.401 GB, free: 23.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0007897/1.015, allocations: 329 kB / 1.401 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/1.015, allocations: 61.41 kB / 1.401 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/1.017, allocations: 0.8874 MB / 1.402 GB, free: 22.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/1.017, allocations: 25.7 kB / 1.402 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/1.017, allocations: 211.3 kB / 1.402 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/1.017, allocations: 73.44 kB / 1.402 GB, free: 22.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/1.017, allocations: 4 kB / 1.402 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002238/1.018, allocations: 375 kB / 1.403 GB, free: 22.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/1.018, allocations: 234.7 kB / 1.403 GB, free: 22.08 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/1.018, allocations: 0.4901 MB / 1.403 GB, free: 21.53 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/1.019, allocations: 303.6 kB / 1.404 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.019, allocations: 4 kB / 1.404 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009775/1.02, allocations: 0.731 MB / 1.404 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.02, allocations: 8 kB / 1.404 GB, free: 20.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/1.02, allocations: 15.91 kB / 1.404 GB, free: 20.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002163/1.02, allocations: 51.77 kB / 1.404 GB, free: 20.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/1.02, allocations: 135.2 kB / 1.405 GB, free: 20.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/1.021, allocations: 1.415 MB / 1.406 GB, free: 19.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/1.022, allocations: 143.3 kB / 1.406 GB, free: 18.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/1.022, allocations: 27.88 kB / 1.406 GB, free: 18.86 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.0001123/1.023, allocations: 124 kB / 1.406 GB, free: 18.74 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/1.023, allocations: 63.16 kB / 1.406 GB, free: 18.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/1.023, allocations: 64.27 kB / 1.406 GB, free: 18.63 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.023, allocations: 7.938 kB / 1.406 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.023, allocations: 0 / 1.406 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.023, allocations: 4 kB / 1.406 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006736/1.024, allocations: 0.6285 MB / 1.407 GB, free: 18.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/1.024, allocations: 0 / 1.407 GB, free: 18.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/1.024, allocations: 43.91 kB / 1.407 GB, free: 18.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/1.024, allocations: 48.38 kB / 1.407 GB, free: 18.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/1.024, allocations: 4 kB / 1.407 GB, free: 18.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009509/1.025, allocations: 1.401 MB / 1.408 GB, free: 16.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.025, allocations: 4.156 kB / 1.408 GB, free: 16.58 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005868/1.026, allocations: 0.5543 MB / 1.409 GB, free: 16.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004076/1.026, allocations: 355 kB / 1.409 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/1.026, allocations: 7.438 kB / 1.409 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/1.027, allocations: 55.91 kB / 1.409 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/1.027, allocations: 15.92 kB / 1.409 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/1.027, allocations: 7.312 kB / 1.409 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007461/1.028, allocations: 0.6662 MB / 1.41 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000724/1.028, allocations: 187.8 kB / 1.41 GB, free: 15 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.0002725/1.029, allocations: 171 kB / 1.41 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007106/1.029, allocations: 0.5334 MB / 1.411 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.029, allocations: 7.562 kB / 1.411 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/1.03, allocations: 233.2 kB / 1.411 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007431/1.03, allocations: 147.7 kB / 1.411 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/1.032, allocations: 1.246 MB / 1.413 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007972/1.033, allocations: 1.053 MB / 1.414 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/1.033, allocations: 0 / 1.414 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of Templates: time 0.01389/1.047, allocations: 7.215 MB / 1.421 GB, free: 4.844 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches