Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,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.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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.ConductorMultiLayer2") [: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.974/1.974, 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.001156/0.001156, allocations: 181.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.28/1.28, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0008953/0.0008953, allocations: 90.44 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.432e-06/6.462e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2234, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7026/0.9261, allocations: 161.9 MB / 1.37 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.9264, allocations: 76.27 kB / 1.37 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.09288/1.019, allocations: 26.68 MB / 1.396 GB, free: 10.18 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001454/1.019, allocations: 16.09 kB / 1.396 GB, free: 10.18 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.002429/1.022, allocations: 0.7988 MB / 1.397 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.022, allocations: 12.22 kB / 1.397 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006392/1.023, allocations: 79.88 kB / 1.397 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003407/1.026, allocations: 1.247 MB / 1.398 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/1.026, allocations: 7.625 kB / 1.398 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/1.026, allocations: 27.12 kB / 1.398 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004471/1.027, allocations: 212.3 kB / 1.398 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005897/1.027, allocations: 342.3 kB / 1.398 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/1.027, allocations: 0.75 kB / 1.398 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/1.027, allocations: 0.8125 kB / 1.398 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/1.027, allocations: 6.719 kB / 1.399 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/1.03, allocations: 1.932 MB / 1.4 GB, free: 23.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/1.031, allocations: 273.9 kB / 1.401 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/1.031, allocations: 134.2 kB / 1.401 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/1.031, allocations: 2.25 kB / 1.401 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/1.031, allocations: 39.8 kB / 1.401 GB, free: 23.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 2.345e-06/1.031, allocations: 0 / 1.401 GB, free: 23.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0007795/1.032, allocations: 333 kB / 1.401 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/1.032, allocations: 61.16 kB / 1.401 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/1.034, allocations: 0.8889 MB / 1.402 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/1.034, allocations: 29.7 kB / 1.402 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/1.034, allocations: 212.2 kB / 1.402 GB, free: 22.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/1.034, allocations: 72.88 kB / 1.402 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/1.034, allocations: 0 / 1.402 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.034, allocations: 381.3 kB / 1.403 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/1.034, allocations: 226.5 kB / 1.403 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/1.035, allocations: 493.7 kB / 1.403 GB, free: 21.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/1.035, allocations: 306.3 kB / 1.404 GB, free: 21.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/1.035, allocations: 0 / 1.404 GB, free: 21.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000946/1.036, allocations: 0.7433 MB / 1.404 GB, free: 20.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.036, allocations: 4 kB / 1.404 GB, free: 20.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.036, allocations: 11.91 kB / 1.404 GB, free: 20.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002086/1.036, allocations: 55.27 kB / 1.405 GB, free: 20.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/1.037, allocations: 142.9 kB / 1.405 GB, free: 20.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/1.038, allocations: 1.412 MB / 1.406 GB, free: 19.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/1.039, allocations: 135.2 kB / 1.406 GB, free: 18.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/1.039, allocations: 27.25 kB / 1.406 GB, free: 18.95 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.0001313/1.039, allocations: 124.8 kB / 1.406 GB, free: 18.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/1.039, allocations: 71.09 kB / 1.406 GB, free: 18.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/1.039, allocations: 65.77 kB / 1.406 GB, free: 18.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/1.039, allocations: 4 kB / 1.406 GB, free: 18.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.039, allocations: 0 / 1.406 GB, free: 18.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.039, allocations: 0 / 1.406 GB, free: 18.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007847/1.04, allocations: 0.6266 MB / 1.407 GB, free: 18.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.04, allocations: 0 / 1.407 GB, free: 18.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/1.04, allocations: 43.97 kB / 1.407 GB, free: 18.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/1.041, allocations: 47.94 kB / 1.407 GB, free: 18.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/1.041, allocations: 12 kB / 1.407 GB, free: 18.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009544/1.042, allocations: 1.404 MB / 1.409 GB, free: 16.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.042, allocations: 3.938 kB / 1.409 GB, free: 16.65 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00059/1.042, allocations: 0.5438 MB / 1.409 GB, free: 16.19 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/1.043, allocations: 355.7 kB / 1.409 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/1.043, allocations: 11.66 kB / 1.409 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005854/1.043, allocations: 55.91 kB / 1.409 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/1.043, allocations: 7.984 kB / 1.409 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/1.043, allocations: 4 kB / 1.409 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0008017/1.044, allocations: 0.6686 MB / 1.41 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007875/1.045, allocations: 183.8 kB / 1.41 GB, free: 15.1 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.0002956/1.045, allocations: 181.4 kB / 1.41 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007617/1.046, allocations: 0.5372 MB / 1.411 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.046, allocations: 2.25 kB / 1.411 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002495/1.046, allocations: 225.9 kB / 1.411 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000725/1.047, allocations: 158.8 kB / 1.411 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/1.049, allocations: 1.238 MB / 1.413 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008499/1.05, allocations: 1.06 MB / 1.414 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.05, allocations: 4 kB / 1.414 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.01422/1.064, allocations: 7.217 MB / 1.421 GB, free: 4.926 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches