Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.T.3.|con.T.4.|con.T.5.|con.T.6.|con.T.7.|con.T.8.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.T.3.|con.T.4.|con.T.5.|con.T.6.|con.T.7.|con.T.8.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") [: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.201/1.201, allocations: 249.4 MB / 256.7 MB, free: 6.93 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.001001/0.001001, allocations: 188.4 kB / 316 MB, free: 3.559 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.058/1.058, allocations: 205.1 MB / 0.5667 GB, free: 15.69 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.000807/0.0008072, allocations: 98.17 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.855e-06/7.875e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1602, allocations: 106.3 MB / 0.8845 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4145/0.5747, allocations: 134.4 MB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.575, allocations: 66.16 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02361/0.5986, allocations: 6.459 MB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.5986, allocations: 4 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001535/0.6002, allocations: 0.6733 MB / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.6002, allocations: 14.77 kB / 1.023 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.093e-05/0.6003, allocations: 27.72 kB / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.6013, allocations: 418.8 kB / 1.023 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.6013, allocations: 4 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.862e-05/0.6014, allocations: 23.98 kB / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001994/0.6016, allocations: 133.2 kB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.6018, allocations: 157.2 kB / 1.024 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.6019, allocations: 0 / 1.024 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.6019, allocations: 4.656 kB / 1.024 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.6019, allocations: 4 kB / 1.024 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000981/0.6029, allocations: 0.8424 MB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.6031, allocations: 234.1 kB / 1.025 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.6033, allocations: 108.6 kB / 1.025 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.6033, allocations: 4 kB / 1.025 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.6033, allocations: 30.56 kB / 1.025 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.6033, allocations: 0 / 1.025 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0003786/0.6037, allocations: 253.2 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.6037, allocations: 55.41 kB / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.6039, allocations: 244.1 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.604, allocations: 29.7 kB / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.6041, allocations: 121.8 kB / 1.025 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/0.6041, allocations: 76.45 kB / 1.026 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.6042, allocations: 0 / 1.026 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.6043, allocations: 341.3 kB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.6046, allocations: 252.6 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.605, allocations: 307.6 kB / 1.026 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.6054, allocations: 289.8 kB / 1.027 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6054, allocations: 4 kB / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008964/0.6063, allocations: 0.6469 MB / 1.027 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.946e-06/0.6063, allocations: 4 kB / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6063, allocations: 0 / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.6063, allocations: 4 kB / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007626/0.6071, allocations: 123.3 kB / 1.027 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.6071, allocations: 0 / 1.027 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.6083, allocations: 67.47 kB / 1.027 GB, free: 9.945 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.6083, allocations: 26.33 kB / 1.027 GB, free: 9.926 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.175e-05/0.6084, allocations: 108.9 kB / 1.028 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.6085, allocations: 19.72 kB / 1.028 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.6085, allocations: 28.52 kB / 1.028 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.6085, allocations: 4 kB / 1.028 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6085, allocations: 4 kB / 1.028 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.6085, allocations: 0 / 1.028 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.6089, allocations: 387 kB / 1.028 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6089, allocations: 0 / 1.028 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.6092, allocations: 46.97 kB / 1.028 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6092, allocations: 0 / 1.028 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.6092, allocations: 7.25 kB / 1.028 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6092, allocations: 0 / 1.028 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.6092, allocations: 11.83 kB / 1.028 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004509/0.6097, allocations: 471.1 kB / 1.029 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.27e-05/0.6097, allocations: 111.8 kB / 1.029 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.6098, allocations: 3.984 kB / 1.029 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005184/0.6103, allocations: 11.98 kB / 1.029 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.6104, allocations: 15.88 kB / 1.029 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.6104, allocations: 7.812 kB / 1.029 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001171/0.6105, allocations: 179.1 kB / 1.029 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004971/0.611, allocations: 192 kB / 1.029 GB, free: 8.469 MB / 0.6511 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],con.T[5],con.T[6],con.T[7],con.T[8]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001417/0.6112, allocations: 119 kB / 1.029 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005566/0.6117, allocations: 442.7 kB / 1.03 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.6117, allocations: 4 kB / 1.03 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.6119, allocations: 108.5 kB / 1.03 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.6122, allocations: 48.42 kB / 1.03 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.6134, allocations: 0.9126 MB / 1.031 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004416/0.6139, allocations: 0.8196 MB / 1.031 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.6139, allocations: 0 / 1.031 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of Templates: time 0.007837/0.6218, allocations: 5.43 MB / 1.037 GB, free: 0.8281 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches