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.347/2.347, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001028/0.001028, allocations: 170.4 kB / 492.3 MB, free: 0.5977 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.494/1.494, allocations: 221.3 MB / 0.7871 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008911/0.0008912, allocations: 88 kB / 0.9267 GB, free: 13.9 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.693e-05, allocations: 6.188 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2617, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.992/6.253, allocations: 1.918 GB / 3.13 GB, free: 346.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/6.254, allocations: 84.08 kB / 3.13 GB, free: 346.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4917/6.745, allocations: 264.3 MB / 3.388 GB, free: 100.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.563e-06/6.746, allocations: 0 / 3.388 GB, free: 100.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.498e-05/6.746, allocations: 16 kB / 3.389 GB, free: 100.5 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.001378/6.747, allocations: 0.7966 MB / 3.389 GB, free: 99.63 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/6.747, allocations: 8.031 kB / 3.389 GB, free: 99.62 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/6.748, allocations: 171.2 kB / 3.389 GB, free: 99.45 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007972/6.749, allocations: 0.5157 MB / 3.39 GB, free: 98.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/6.749, allocations: 29 kB / 3.39 GB, free: 98.87 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.643e-05/6.749, allocations: 43.98 kB / 3.39 GB, free: 98.83 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007358/6.75, allocations: 498.2 kB / 3.391 GB, free: 98.33 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/6.75, allocations: 0 / 3.391 GB, free: 98.33 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/6.75, allocations: 20 kB / 3.391 GB, free: 98.31 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/6.75, allocations: 28.94 kB / 3.391 GB, free: 98.28 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005241/6.75, allocations: 387.8 kB / 3.391 GB, free: 97.91 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.002185/6.753, allocations: 1.716 MB / 3.393 GB, free: 96.05 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/6.753, allocations: 294.6 kB / 3.393 GB, free: 95.76 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/6.753, allocations: 173.3 kB / 3.393 GB, free: 95.59 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/6.753, allocations: 105.1 kB / 3.393 GB, free: 95.46 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/6.753, allocations: 38.55 kB / 3.393 GB, free: 95.42 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.502e-06/6.754, allocations: 0 / 3.393 GB, free: 95.42 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001591/6.755, allocations: 0.9221 MB / 3.394 GB, free: 94.44 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/6.755, allocations: 55.41 kB / 3.394 GB, free: 94.38 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/6.756, allocations: 399.1 kB / 3.395 GB, free: 93.98 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/6.756, allocations: 29.7 kB / 3.395 GB, free: 93.95 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/6.756, allocations: 252.1 kB / 3.395 GB, free: 93.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.897e-05/6.756, allocations: 118.3 kB / 3.395 GB, free: 93.58 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/6.756, allocations: 4 kB / 3.395 GB, free: 93.58 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/6.756, allocations: 362.8 kB / 3.395 GB, free: 93.21 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/6.756, allocations: 120 kB / 3.395 GB, free: 93.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/6.756, allocations: 199.2 kB / 3.396 GB, free: 92.88 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.001358/6.758, allocations: 0.5567 MB / 3.396 GB, free: 92.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/6.758, allocations: 0 / 3.396 GB, free: 92.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005227/6.758, allocations: 412.6 kB / 3.396 GB, free: 91.89 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/6.758, allocations: 4.188 kB / 3.396 GB, free: 91.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/6.758, allocations: 11.98 kB / 3.397 GB, free: 91.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/6.758, allocations: 4 kB / 3.397 GB, free: 91.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/6.758, allocations: 71.84 kB / 3.397 GB, free: 91.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/6.759, allocations: 0 / 3.397 GB, free: 91.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/6.759, allocations: 39.77 kB / 3.397 GB, free: 91.77 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/6.759, allocations: 19.98 kB / 3.397 GB, free: 91.75 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 0.0001643/6.759, allocations: 126.5 kB / 3.397 GB, free: 91.62 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.723e-05/6.759, allocations: 51.39 kB / 3.397 GB, free: 91.57 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/6.759, allocations: 64.88 kB / 3.397 GB, free: 91.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/6.759, allocations: 4 kB / 3.397 GB, free: 91.49 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/6.759, allocations: 3.938 kB / 3.397 GB, free: 91.49 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003907/6.76, allocations: 400.5 kB / 3.397 GB, free: 91.07 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/6.761, allocations: 1.236 MB / 3.398 GB, free: 89.73 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/6.761, allocations: 4 kB / 3.398 GB, free: 89.72 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/6.762, allocations: 71.91 kB / 3.399 GB, free: 89.65 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/6.762, allocations: 8 kB / 3.399 GB, free: 89.64 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/6.762, allocations: 11.95 kB / 3.399 GB, free: 89.63 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/6.762, allocations: 16.44 kB / 3.399 GB, free: 89.62 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/6.762, allocations: 11.98 kB / 3.399 GB, free: 89.61 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007852/6.762, allocations: 0.8714 MB / 3.399 GB, free: 88.57 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/6.763, allocations: 164.5 kB / 3.4 GB, free: 88.39 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.384e-05/6.763, allocations: 15.98 kB / 3.4 GB, free: 88.38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/6.763, allocations: 35.98 kB / 3.4 GB, free: 88.34 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/6.763, allocations: 27.92 kB / 3.4 GB, free: 88.31 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/6.763, allocations: 19.98 kB / 3.4 GB, free: 88.29 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003106/6.764, allocations: 329.1 kB / 3.4 GB, free: 87.98 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/6.764, allocations: 0 / 3.4 GB, free: 87.98 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000873/6.765, allocations: 216 kB / 3.4 GB, free: 87.77 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.001392/6.766, allocations: 0.9534 MB / 3.401 GB, free: 86.81 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004739/6.766, allocations: 308 kB / 3.401 GB, free: 86.51 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/6.766, allocations: 8 kB / 3.401 GB, free: 86.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/6.767, allocations: 155.7 kB / 3.402 GB, free: 86.35 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/6.768, allocations: 355.2 kB / 3.402 GB, free: 86.02 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/6.769, allocations: 0.8513 MB / 3.403 GB, free: 85.09 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/6.77, allocations: 0.8942 MB / 3.404 GB, free: 84.17 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004692/6.77, allocations: 144.6 kB / 3.404 GB, free: 84.03 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/6.77, allocations: 47.44 kB / 3.404 GB, free: 83.98 MB / 1.151 GB Notification: Performance of SimCode: time 7.82e-07/6.77, allocations: 0 / 3.404 GB, free: 83.98 MB / 1.151 GB Notification: Performance of Templates: time 0.03197/6.802, allocations: 24.25 MB / 3.427 GB, free: 59.84 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