Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.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.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization") [: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: 7.012 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.0009995/0.0009995, allocations: 181.3 kB / 316 MB, free: 3.594 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.074/1.074, allocations: 205.2 MB / 0.5667 GB, free: 15.73 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.0007863/0.0007863, allocations: 95.94 kB / 0.671 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.332e-06, allocations: 0 / 0.7807 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1486, allocations: 106.3 MB / 0.8845 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4533/0.6019, allocations: 142.3 MB / 1.023 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.6022, allocations: 71.58 kB / 1.024 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.1096/0.7118, allocations: 31.07 MB / 1.054 GB, free: 3.18 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.645e-05/0.7118, allocations: 16 kB / 1.054 GB, free: 3.164 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001264/0.7131, allocations: 0.9663 MB / 1.055 GB, free: 2.199 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.7131, allocations: 8.031 kB / 1.055 GB, free: 2.191 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.7134, allocations: 110.7 kB / 1.055 GB, free: 2.082 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/0.7168, allocations: 2.065 MB / 1.057 GB, free: 488 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.7168, allocations: 15.91 kB / 1.057 GB, free: 472 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/0.7169, allocations: 28 kB / 1.057 GB, free: 444 kB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004268/0.7174, allocations: 325.4 kB / 1.057 GB, free: 204 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006165/0.718, allocations: 0.4998 MB / 1.058 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.718, allocations: 4 kB / 1.058 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.718, allocations: 0 / 1.058 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.7181, allocations: 15.92 kB / 1.058 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/0.721, allocations: 3.074 MB / 1.061 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.7215, allocations: 402.8 kB / 1.061 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.7217, allocations: 198.2 kB / 1.061 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.7218, allocations: 4 kB / 1.061 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.7218, allocations: 41.86 kB / 1.061 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=26): time 2.916e-06/0.7218, allocations: 0 / 1.061 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26): time 0.0007195/0.7225, allocations: 0.4895 MB / 1.062 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.7226, allocations: 55.41 kB / 1.062 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.7239, allocations: 1.25 MB / 1.063 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.724, allocations: 25.7 kB / 1.063 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.7242, allocations: 266.6 kB / 1.064 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.7244, allocations: 101.4 kB / 1.064 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.7244, allocations: 0 / 1.064 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.7245, allocations: 339.3 kB / 1.064 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.7248, allocations: 282.6 kB / 1.064 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/0.7253, allocations: 0.5785 MB / 1.065 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.7257, allocations: 379.5 kB / 1.065 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7257, allocations: 4 kB / 1.065 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001606/0.7273, allocations: 1.175 MB / 1.066 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.7273, allocations: 4 kB / 1.066 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.7274, allocations: 12 kB / 1.066 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.7285, allocations: 453.9 kB / 1.067 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.7288, allocations: 110.8 kB / 1.067 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005198/0.734, allocations: 4.676 MB / 1.071 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.7358, allocations: 266.9 kB / 1.072 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.7359, allocations: 35.25 kB / 1.072 GB, free: 3.758 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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): 60 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.736, allocations: 132 kB / 1.072 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.7361, allocations: 94.78 kB / 1.072 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.7363, allocations: 96.52 kB / 1.072 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.7363, allocations: 7.984 kB / 1.072 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7363, allocations: 0 / 1.072 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.7363, allocations: 0 / 1.072 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009508/0.7373, allocations: 1.069 MB / 1.073 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.7373, allocations: 3.938 kB / 1.073 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/0.7377, allocations: 94.73 kB / 1.073 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001264/0.7379, allocations: 38.83 kB / 1.073 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.7379, allocations: 15.42 kB / 1.073 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009806/0.7389, allocations: 1.448 MB / 1.075 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7389, allocations: 0 / 1.075 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000846/0.7398, allocations: 0.8287 MB / 1.075 GB, free: 344 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000722/0.7405, allocations: 0.9411 MB / 1.076 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.7406, allocations: 15.11 kB / 1.076 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009761/0.7416, allocations: 131.6 kB / 1.076 GB, free: 15.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.7417, allocations: 7.984 kB / 1.076 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.7417, allocations: 7.25 kB / 1.076 GB, free: 15.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0009864/0.7427, allocations: 0.9329 MB / 1.077 GB, free: 14.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001171/0.7439, allocations: 0.5654 MB / 1.078 GB, free: 13.93 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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.0002745/0.7442, allocations: 226 kB / 1.078 GB, free: 13.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.7455, allocations: 0.8331 MB / 1.079 GB, free: 13.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.7455, allocations: 0.875 kB / 1.079 GB, free: 13.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.7458, allocations: 315.8 kB / 1.079 GB, free: 12.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008802/0.7467, allocations: 239.6 kB / 1.08 GB, free: 12.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.7493, allocations: 2.004 MB / 1.081 GB, free: 10.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008235/0.7501, allocations: 1.227 MB / 1.083 GB, free: 9.531 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.7501, allocations: 0 / 1.083 GB, free: 9.531 MB / 0.698 GB Notification: Performance of Templates: time 0.01852/0.7687, allocations: 12.13 MB / 1.095 GB, free: 13.56 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches