Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.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.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay") [: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.187/1.187, allocations: 249.4 MB / 256.7 MB, free: 7.004 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.0009885/0.0009885, allocations: 177.3 kB / 316 MB, free: 3.574 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.013/1.013, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.0008158/0.0008159, allocations: 90.23 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.071e-06/6.101e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1479, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.165/3.313, allocations: 2.196 GB / 3.08 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/3.313, allocations: 79.95 kB / 3.08 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.02/4.334, allocations: 469.1 MB / 3.539 GB, free: 77.93 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.122e-05/4.334, allocations: 16 kB / 3.539 GB, free: 77.91 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001264/4.335, allocations: 0.9695 MB / 3.54 GB, free: 76.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/4.335, allocations: 12.03 kB / 3.54 GB, free: 76.89 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/4.336, allocations: 214.9 kB / 3.54 GB, free: 76.68 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009235/4.337, allocations: 0.6399 MB / 3.54 GB, free: 76 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/4.337, allocations: 16 kB / 3.54 GB, free: 75.98 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/4.337, allocations: 28 kB / 3.54 GB, free: 75.95 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005149/4.338, allocations: 377.7 kB / 3.541 GB, free: 75.58 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/4.338, allocations: 408.4 kB / 3.541 GB, free: 75.18 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/4.338, allocations: 0 / 3.541 GB, free: 75.18 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/4.338, allocations: 0 / 3.541 GB, free: 75.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/4.338, allocations: 17 kB / 3.541 GB, free: 75.16 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/4.34, allocations: 2.034 MB / 3.543 GB, free: 72.98 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/4.341, allocations: 299.5 kB / 3.543 GB, free: 72.68 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/4.341, allocations: 179.8 kB / 3.544 GB, free: 72.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/4.341, allocations: 194.5 kB / 3.544 GB, free: 72.28 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/4.341, allocations: 38.84 kB / 3.544 GB, free: 72.23 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 1.393e-06/4.341, allocations: 0 / 3.544 GB, free: 72.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0007938/4.342, allocations: 399.2 kB / 3.544 GB, free: 71.84 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.318e-05/4.342, allocations: 51.41 kB / 3.544 GB, free: 71.77 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/4.342, allocations: 378.2 kB / 3.545 GB, free: 71.39 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/4.342, allocations: 25.7 kB / 3.545 GB, free: 71.36 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/4.343, allocations: 236.6 kB / 3.545 GB, free: 71.13 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/4.343, allocations: 110.3 kB / 3.545 GB, free: 71.02 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/4.343, allocations: 0 / 3.545 GB, free: 71.02 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.965e-05/4.343, allocations: 358.8 kB / 3.545 GB, free: 70.66 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/4.343, allocations: 120.6 kB / 3.545 GB, free: 70.54 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/4.343, allocations: 198.3 kB / 3.546 GB, free: 70.31 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/4.343, allocations: 155.8 kB / 3.546 GB, free: 70.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/4.343, allocations: 0 / 3.546 GB, free: 70.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000417/4.344, allocations: 372.6 kB / 3.546 GB, free: 69.79 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.932e-05/4.344, allocations: 356.1 kB / 3.547 GB, free: 69.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/4.344, allocations: 0 / 3.547 GB, free: 69.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/4.344, allocations: 4 kB / 3.547 GB, free: 69.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/4.344, allocations: 79.8 kB / 3.547 GB, free: 69.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/4.344, allocations: 4 kB / 3.547 GB, free: 69.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/4.345, allocations: 51.81 kB / 3.547 GB, free: 69.28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/4.345, allocations: 15.98 kB / 3.547 GB, free: 69.26 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.999e-06/4.345, allocations: 4.094 kB / 3.547 GB, free: 69.26 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000343/4.345, allocations: 279.6 kB / 3.547 GB, free: 68.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/4.345, allocations: 3.906 kB / 3.547 GB, free: 68.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-06/4.345, allocations: 4 kB / 3.547 GB, free: 68.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/4.345, allocations: 83.98 kB / 3.547 GB, free: 68.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/4.345, allocations: 0 / 3.547 GB, free: 68.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/4.346, allocations: 55.73 kB / 3.547 GB, free: 68.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/4.346, allocations: 12 kB / 3.547 GB, free: 68.83 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 7.051e-05/4.346, allocations: 112.8 kB / 3.547 GB, free: 68.71 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/4.346, allocations: 55.34 kB / 3.547 GB, free: 68.66 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/4.346, allocations: 362.9 kB / 3.548 GB, free: 68.29 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/4.346, allocations: 4 kB / 3.548 GB, free: 68.29 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/4.346, allocations: 4 kB / 3.548 GB, free: 68.29 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003166/4.347, allocations: 388.3 kB / 3.548 GB, free: 67.88 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/4.348, allocations: 1.046 MB / 3.549 GB, free: 66.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/4.348, allocations: 4 kB / 3.549 GB, free: 66.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/4.348, allocations: 87.89 kB / 3.549 GB, free: 66.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/4.348, allocations: 4 kB / 3.549 GB, free: 66.68 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/4.348, allocations: 4 kB / 3.549 GB, free: 66.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/4.348, allocations: 4 kB / 3.549 GB, free: 66.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/4.348, allocations: 3.938 kB / 3.549 GB, free: 66.66 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005919/4.349, allocations: 0.7296 MB / 3.55 GB, free: 65.86 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/4.349, allocations: 180.3 kB / 3.55 GB, free: 65.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/4.349, allocations: 7.938 kB / 3.55 GB, free: 65.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/4.35, allocations: 55.8 kB / 3.55 GB, free: 65.61 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/4.35, allocations: 31.91 kB / 3.55 GB, free: 65.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/4.35, allocations: 15.98 kB / 3.55 GB, free: 65.56 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000218/4.35, allocations: 298.9 kB / 3.55 GB, free: 65.27 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008376/4.351, allocations: 407 kB / 3.551 GB, free: 64.87 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.001229/4.352, allocations: 1.433 MB / 3.552 GB, free: 63.39 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005301/4.353, allocations: 474.8 kB / 3.553 GB, free: 62.93 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/4.353, allocations: 0 / 3.553 GB, free: 62.93 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/4.353, allocations: 155.8 kB / 3.553 GB, free: 62.78 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/4.354, allocations: 321.2 kB / 3.553 GB, free: 62.46 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/4.356, allocations: 0.978 MB / 3.554 GB, free: 61.44 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/4.356, allocations: 0.999 MB / 3.555 GB, free: 60.42 MB / 0.8698 GB Notification: Performance of SimCode: time 2.7e-07/4.356, allocations: 0 / 3.555 GB, free: 60.42 MB / 0.8698 GB Notification: Performance of Templates: time 0.02275/4.379, allocations: 19.23 MB / 3.574 GB, free: 41.29 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Delays_Examples_Delay.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches