Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") [: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.209/1.209, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.0009368/0.0009367, allocations: 184.6 kB / 316 MB, free: 3.516 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.165/1.165, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.0009529/0.000953, allocations: 89.66 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.216e-06/8.236e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1818, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.797/3.979, allocations: 2.222 GB / 3.107 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001695/3.979, allocations: 87.95 kB / 3.107 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.044/5.023, allocations: 457.8 MB / 3.554 GB, free: 62.61 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.082e-05/5.023, allocations: 28 kB / 3.554 GB, free: 62.58 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.002952/5.026, allocations: 1.493 MB / 3.555 GB, free: 61.04 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/5.026, allocations: 12.03 kB / 3.555 GB, free: 61.03 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/5.028, allocations: 306.2 kB / 3.556 GB, free: 60.73 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/5.029, allocations: 0.8395 MB / 3.557 GB, free: 59.84 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/5.029, allocations: 32 kB / 3.557 GB, free: 59.81 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.975e-05/5.029, allocations: 40 kB / 3.557 GB, free: 59.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00112/5.031, allocations: 0.8857 MB / 3.557 GB, free: 58.89 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/5.032, allocations: 0.8982 MB / 3.558 GB, free: 57.97 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/5.032, allocations: 4 kB / 3.558 GB, free: 57.96 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.92e-05/5.032, allocations: 3.906 kB / 3.558 GB, free: 57.96 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.683e-05/5.032, allocations: 81.94 kB / 3.558 GB, free: 57.88 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004437/5.036, allocations: 3.442 MB / 3.562 GB, free: 54.21 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/5.037, allocations: 0.7286 MB / 3.562 GB, free: 53.47 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/5.038, allocations: 372.2 kB / 3.563 GB, free: 53.11 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/5.038, allocations: 194.7 kB / 3.563 GB, free: 52.88 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/5.038, allocations: 39.06 kB / 3.563 GB, free: 52.84 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=62): time 2.344e-06/5.038, allocations: 0 / 3.563 GB, free: 52.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62): time 0.001422/5.04, allocations: 0.7454 MB / 3.564 GB, free: 52.08 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/5.04, allocations: 115.3 kB / 3.564 GB, free: 51.95 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/5.04, allocations: 0.5546 MB / 3.564 GB, free: 51.39 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/5.04, allocations: 25.7 kB / 3.564 GB, free: 51.36 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/5.04, allocations: 315.7 kB / 3.565 GB, free: 51.04 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/5.04, allocations: 216.8 kB / 3.565 GB, free: 50.82 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/5.04, allocations: 4 kB / 3.565 GB, free: 50.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.931e-05/5.04, allocations: 386.8 kB / 3.565 GB, free: 50.43 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/5.041, allocations: 313.5 kB / 3.566 GB, free: 50.13 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004247/5.041, allocations: 443.6 kB / 3.566 GB, free: 49.64 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00528/5.047, allocations: 1.353 MB / 3.567 GB, free: 48.29 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/5.047, allocations: 0 / 3.567 GB, free: 48.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005897/5.052, allocations: 1.814 MB / 3.569 GB, free: 46.47 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/5.053, allocations: 0.868 MB / 3.57 GB, free: 45.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/5.053, allocations: 7.938 kB / 3.57 GB, free: 45.53 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/5.053, allocations: 4 kB / 3.57 GB, free: 45.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006627/5.053, allocations: 151.8 kB / 3.57 GB, free: 45.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/5.053, allocations: 15.89 kB / 3.57 GB, free: 45.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008265/5.054, allocations: 79.33 kB / 3.57 GB, free: 45.28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.767e-05/5.054, allocations: 28 kB / 3.57 GB, free: 45.25 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-06/5.054, allocations: 4 kB / 3.57 GB, free: 45.25 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005461/5.06, allocations: 1.626 MB / 3.572 GB, free: 43.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/5.06, allocations: 7.938 kB / 3.572 GB, free: 43.61 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.212e-06/5.06, allocations: 4 kB / 3.572 GB, free: 43.61 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/5.06, allocations: 139.8 kB / 3.572 GB, free: 43.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/5.06, allocations: 16.2 kB / 3.572 GB, free: 43.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/5.061, allocations: 67.41 kB / 3.572 GB, free: 43.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/5.061, allocations: 31.98 kB / 3.572 GB, free: 43.36 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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 0.0001448/5.061, allocations: 116.9 kB / 3.572 GB, free: 43.24 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/5.061, allocations: 82.97 kB / 3.572 GB, free: 43.16 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/5.063, allocations: 0.7664 MB / 3.573 GB, free: 42.38 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/5.063, allocations: 7.938 kB / 3.573 GB, free: 42.37 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/5.063, allocations: 0 / 3.573 GB, free: 42.37 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008292/5.064, allocations: 0.7291 MB / 3.574 GB, free: 41.61 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/5.066, allocations: 1.937 MB / 3.576 GB, free: 39.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/5.066, allocations: 11.92 kB / 3.576 GB, free: 39.58 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/5.067, allocations: 140.2 kB / 3.576 GB, free: 39.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/5.067, allocations: 8 kB / 3.576 GB, free: 39.43 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/5.067, allocations: 4 kB / 3.576 GB, free: 39.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/5.067, allocations: 8 kB / 3.576 GB, free: 39.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/5.067, allocations: 7.984 kB / 3.576 GB, free: 39.41 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001423/5.068, allocations: 1.522 MB / 3.577 GB, free: 37.75 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/5.069, allocations: 248 kB / 3.578 GB, free: 37.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/5.069, allocations: 11.92 kB / 3.578 GB, free: 37.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006168/5.069, allocations: 39.88 kB / 3.578 GB, free: 37.43 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/5.069, allocations: 40.3 kB / 3.578 GB, free: 37.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/5.069, allocations: 27.98 kB / 3.578 GB, free: 37.37 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003819/5.07, allocations: 439.1 kB / 3.578 GB, free: 36.95 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001845/5.072, allocations: 0.881 MB / 3.579 GB, free: 36.06 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.002056/5.074, allocations: 1.921 MB / 3.581 GB, free: 34.09 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001354/5.075, allocations: 1.117 MB / 3.582 GB, free: 32.97 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/5.075, allocations: 1.125 kB / 3.582 GB, free: 32.97 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003391/5.075, allocations: 354.1 kB / 3.582 GB, free: 32.62 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/5.077, allocations: 430.3 kB / 3.583 GB, free: 32.21 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/5.079, allocations: 1.493 MB / 3.584 GB, free: 30.64 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006456/5.08, allocations: 1.183 MB / 3.585 GB, free: 29.43 MB / 0.8698 GB Notification: Performance of SimCode: time 4e-07/5.08, allocations: 0 / 3.585 GB, free: 29.43 MB / 0.8698 GB Notification: Performance of Templates: time 0.2549/5.335, allocations: 31.67 MB / 3.616 GB, free: 276.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches