Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") [: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 7.0.3-maint.7.0.x/package.mo): time 1.211/1.211, allocations: 249.4 MB / 256.7 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 173.1 kB / 316 MB, free: 3.477 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.045/1.045, allocations: 205.2 MB / 0.5667 GB, free: 15.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008238/0.0008237, allocations: 92.28 kB / 0.671 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.061e-06/6.081e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1337, allocations: 106.3 MB / 0.8845 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4047/0.5385, allocations: 144.6 MB / 1.026 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001724/0.5387, allocations: 74.64 kB / 1.026 GB, free: 9.945 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.08132/0.62, allocations: 26.37 MB / 1.052 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.711e-05/0.6201, allocations: 12 kB / 1.052 GB, free: 4.574 MB / 0.6667 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.001065/0.6211, allocations: 0.8018 MB / 1.052 GB, free: 3.766 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.6212, allocations: 8.031 kB / 1.052 GB, free: 3.758 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.6214, allocations: 79.06 kB / 1.053 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.6234, allocations: 1.25 MB / 1.054 GB, free: 2.676 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.6234, allocations: 8 kB / 1.054 GB, free: 2.668 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.513e-05/0.6235, allocations: 24 kB / 1.054 GB, free: 2.645 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002949/0.6238, allocations: 213.7 kB / 1.054 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.6243, allocations: 327 kB / 1.054 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.6243, allocations: 3.938 kB / 1.054 GB, free: 2.211 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.6243, allocations: 11.89 kB / 1.054 GB, free: 2.199 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.6243, allocations: 8 kB / 1.054 GB, free: 2.191 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.6262, allocations: 1.923 MB / 1.056 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.6266, allocations: 275 kB / 1.056 GB, free: 288 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.6268, allocations: 137.8 kB / 1.057 GB, free: 184 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.6268, allocations: 0 / 1.057 GB, free: 184 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.6268, allocations: 38.56 kB / 1.057 GB, free: 136 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 1.072e-06/0.6268, allocations: 3.938 kB / 1.057 GB, free: 132 kB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.000524/0.6274, allocations: 334.6 kB / 1.057 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.6274, allocations: 51.41 kB / 1.057 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000936/0.6284, allocations: 0.8946 MB / 1.058 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.6284, allocations: 25.7 kB / 1.058 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.6285, allocations: 213.9 kB / 1.058 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/0.6286, allocations: 65.23 kB / 1.058 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.6286, allocations: 0 / 1.058 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6288, allocations: 382.5 kB / 1.059 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.629, allocations: 231.9 kB / 1.059 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.6294, allocations: 496.3 kB / 1.059 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.6298, allocations: 305.4 kB / 1.059 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6298, allocations: 4 kB / 1.059 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009204/0.6307, allocations: 0.7339 MB / 1.06 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.6307, allocations: 6.656 kB / 1.06 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.6307, allocations: 15.98 kB / 1.06 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/0.6309, allocations: 48.77 kB / 1.06 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.6313, allocations: 139.9 kB / 1.06 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.6324, allocations: 1.418 MB / 1.062 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008096/0.6332, allocations: 127.3 kB / 1.062 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.6333, allocations: 27.56 kB / 1.062 GB, free: 11.1 MB / 0.6823 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.0001018/0.6334, allocations: 136 kB / 1.062 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.868e-05/0.6335, allocations: 59.33 kB / 1.062 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.219e-05/0.6336, allocations: 65.66 kB / 1.062 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.6336, allocations: 7.984 kB / 1.062 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6336, allocations: 3.906 kB / 1.062 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6336, allocations: 0 / 1.062 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005783/0.6342, allocations: 0.626 MB / 1.063 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6342, allocations: 0 / 1.063 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.6345, allocations: 43.88 kB / 1.063 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/0.6346, allocations: 56.5 kB / 1.063 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.6346, allocations: 11.73 kB / 1.063 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009412/0.6356, allocations: 1.397 MB / 1.064 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6356, allocations: 0 / 1.064 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005655/0.6361, allocations: 0.5535 MB / 1.065 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.6365, allocations: 350.5 kB / 1.065 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.192e-05/0.6366, allocations: 19.7 kB / 1.065 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004981/0.6371, allocations: 52.02 kB / 1.065 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.6372, allocations: 7.984 kB / 1.065 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.6372, allocations: 4 kB / 1.065 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006636/0.6378, allocations: 0.6729 MB / 1.066 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005739/0.6384, allocations: 191.8 kB / 1.066 GB, free: 7.219 MB / 0.6823 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.0002157/0.6386, allocations: 164 kB / 1.066 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006527/0.6393, allocations: 0.5366 MB / 1.067 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6393, allocations: 0 / 1.067 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.6396, allocations: 236.5 kB / 1.067 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.6401, allocations: 145 kB / 1.067 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.6419, allocations: 1.252 MB / 1.068 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006547/0.6425, allocations: 1.051 MB / 1.069 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/0.6425, allocations: 0 / 1.069 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of Templates: time 0.01212/0.6546, allocations: 7.235 MB / 1.076 GB, free: 12.99 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches