Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.072/2.072, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 188.5 kB / 487.4 MB, free: 5.023 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 83.98 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.765e-05/1.768e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2635, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.956/5.219, allocations: 1.917 GB / 3.123 GB, free: 352.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/5.22, allocations: 84.55 kB / 3.123 GB, free: 352.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4825/5.702, allocations: 261.1 MB / 3.378 GB, free: 127.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.482e-06/5.702, allocations: 0 / 3.378 GB, free: 127.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.399e-05/5.702, allocations: 20 kB / 3.378 GB, free: 127.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00159/5.704, allocations: 0.7928 MB / 3.379 GB, free: 126.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/5.704, allocations: 12.02 kB / 3.379 GB, free: 126.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/5.705, allocations: 175.2 kB / 3.379 GB, free: 126.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009071/5.706, allocations: 0.5082 MB / 3.38 GB, free: 126 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/5.706, allocations: 12 kB / 3.38 GB, free: 126 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/5.706, allocations: 28 kB / 3.38 GB, free: 126 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005584/5.707, allocations: 362.5 kB / 3.38 GB, free: 125.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006541/5.707, allocations: 448.2 kB / 3.381 GB, free: 125.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/5.707, allocations: 0 / 3.381 GB, free: 125.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/5.707, allocations: 7.953 kB / 3.381 GB, free: 125.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/5.707, allocations: 13.31 kB / 3.381 GB, free: 125.1 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/5.71, allocations: 1.611 MB / 3.382 GB, free: 123.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/5.71, allocations: 278.7 kB / 3.382 GB, free: 123.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/5.71, allocations: 173.2 kB / 3.383 GB, free: 123 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/5.71, allocations: 97.05 kB / 3.383 GB, free: 122.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/5.71, allocations: 46.53 kB / 3.383 GB, free: 122.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/5.71, allocations: 4 kB / 3.383 GB, free: 122.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001497/5.712, allocations: 0.8592 MB / 3.384 GB, free: 121.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/5.712, allocations: 59.39 kB / 3.384 GB, free: 121.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/5.712, allocations: 286.3 kB / 3.384 GB, free: 121.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/5.712, allocations: 25.7 kB / 3.384 GB, free: 121.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/5.712, allocations: 264 kB / 3.384 GB, free: 121.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.668e-05/5.712, allocations: 110.3 kB / 3.384 GB, free: 121.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/5.712, allocations: 4 kB / 3.384 GB, free: 121.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.391e-05/5.712, allocations: 346.8 kB / 3.385 GB, free: 120.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/5.713, allocations: 116 kB / 3.385 GB, free: 120.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/5.713, allocations: 179.5 kB / 3.385 GB, free: 120.4 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/5.714, allocations: 0.5432 MB / 3.385 GB, free: 119.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/5.714, allocations: 0 / 3.385 GB, free: 119.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004448/5.714, allocations: 368.8 kB / 3.386 GB, free: 119.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/5.715, allocations: 7.953 kB / 3.386 GB, free: 119.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/5.715, allocations: 0 / 3.386 GB, free: 119.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/5.715, allocations: 7.984 kB / 3.386 GB, free: 119.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/5.715, allocations: 63.92 kB / 3.386 GB, free: 119.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/5.715, allocations: 11.92 kB / 3.386 GB, free: 119.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/5.715, allocations: 28.02 kB / 3.386 GB, free: 119.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/5.715, allocations: 16 kB / 3.386 GB, free: 119.4 MB / 1.151 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.447e-05/5.715, allocations: 110.5 kB / 3.386 GB, free: 119.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/5.715, allocations: 43.52 kB / 3.386 GB, free: 119.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/5.716, allocations: 56.64 kB / 3.386 GB, free: 119.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/5.716, allocations: 4 kB / 3.386 GB, free: 119.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/5.716, allocations: 0 / 3.386 GB, free: 119.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003269/5.716, allocations: 380.3 kB / 3.387 GB, free: 118.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/5.717, allocations: 1.142 MB / 3.388 GB, free: 117.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/5.717, allocations: 4 kB / 3.388 GB, free: 117.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/5.718, allocations: 76.41 kB / 3.388 GB, free: 117.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/5.718, allocations: 8 kB / 3.388 GB, free: 117.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/5.718, allocations: 11.98 kB / 3.388 GB, free: 117.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/5.718, allocations: 4 kB / 3.388 GB, free: 117.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/5.718, allocations: 7.938 kB / 3.388 GB, free: 117.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/5.718, allocations: 0.8411 MB / 3.389 GB, free: 116.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/5.718, allocations: 156.6 kB / 3.389 GB, free: 116.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.072e-05/5.719, allocations: 20.05 kB / 3.389 GB, free: 116.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/5.719, allocations: 23.83 kB / 3.389 GB, free: 116.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/5.719, allocations: 39.86 kB / 3.389 GB, free: 116.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/5.719, allocations: 19.94 kB / 3.389 GB, free: 116.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001922/5.719, allocations: 232.6 kB / 3.389 GB, free: 115.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.719, allocations: 0 / 3.389 GB, free: 115.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006616/5.72, allocations: 184 kB / 3.389 GB, free: 115.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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.001386/5.721, allocations: 1.082 MB / 3.39 GB, free: 114.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003979/5.722, allocations: 283.6 kB / 3.391 GB, free: 114.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/5.722, allocations: 4 kB / 3.391 GB, free: 114.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/5.722, allocations: 145.1 kB / 3.391 GB, free: 114.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/5.723, allocations: 271.4 kB / 3.391 GB, free: 114 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/5.724, allocations: 0.8212 MB / 3.392 GB, free: 113.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/5.725, allocations: 0.9056 MB / 3.393 GB, free: 112.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004353/5.725, allocations: 116.2 kB / 3.393 GB, free: 112 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.445e-05/5.725, allocations: 35.44 kB / 3.393 GB, free: 112 MB / 1.151 GB Notification: Performance of SimCode: time 3.91e-07/5.725, allocations: 0 / 3.393 GB, free: 112 MB / 1.151 GB Notification: Performance of Templates: time 0.01956/5.745, allocations: 13.22 MB / 3.406 GB, free: 98.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches