Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.359/2.359, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001136/0.001136, allocations: 194.8 kB / 0.4902 GB, free: 2.281 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.877/1.877, allocations: 223.1 MB / 0.7992 GB, free: 15.72 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.001143/0.001143, allocations: 105.1 kB / 0.9396 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004211, allocations: 8.719 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3271, allocations: 143 MB / 1.229 GB, free: 85.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.896/5.223, allocations: 1.919 GB / 3.148 GB, free: 13.37 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/5.223, allocations: 95.52 kB / 3.148 GB, free: 13.32 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.452/6.675, allocations: 264.5 MB / 3.406 GB, free: 223.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.713e-06/6.675, allocations: 4 kB / 3.406 GB, free: 223.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.309e-05/6.675, allocations: 15.98 kB / 3.406 GB, free: 223.9 MB / 1.167 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.002117/6.677, allocations: 0.871 MB / 3.407 GB, free: 222.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/6.677, allocations: 16.81 kB / 3.407 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/6.679, allocations: 159.2 kB / 3.407 GB, free: 222.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000999/6.68, allocations: 0.5172 MB / 3.408 GB, free: 222.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/6.68, allocations: 36.98 kB / 3.408 GB, free: 222.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.104e-05/6.68, allocations: 47.98 kB / 3.408 GB, free: 222.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007835/6.681, allocations: 0.4942 MB / 3.408 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/6.681, allocations: 3.938 kB / 3.409 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.042e-05/6.681, allocations: 16 kB / 3.409 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/6.681, allocations: 16.95 kB / 3.409 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/6.681, allocations: 403.7 kB / 3.409 GB, free: 221.2 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002422/6.684, allocations: 1.72 MB / 3.411 GB, free: 219.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/6.684, allocations: 290.6 kB / 3.411 GB, free: 219 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/6.684, allocations: 101.6 kB / 3.411 GB, free: 218.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/6.684, allocations: 42.52 kB / 3.411 GB, free: 218.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/6.684, allocations: 0 / 3.411 GB, free: 218.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001862/6.686, allocations: 1.05 MB / 3.412 GB, free: 217.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/6.686, allocations: 59.41 kB / 3.412 GB, free: 217.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/6.687, allocations: 393.1 kB / 3.412 GB, free: 217.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4e-05/6.687, allocations: 37.7 kB / 3.413 GB, free: 217.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/6.687, allocations: 252.1 kB / 3.413 GB, free: 217 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.512e-05/6.687, allocations: 118.2 kB / 3.413 GB, free: 216.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/6.687, allocations: 8 kB / 3.413 GB, free: 216.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.791e-05/6.687, allocations: 358.8 kB / 3.413 GB, free: 216.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/6.687, allocations: 123.9 kB / 3.413 GB, free: 216.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/6.687, allocations: 199.4 kB / 3.414 GB, free: 216.2 MB / 1.167 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.001382/6.689, allocations: 0.5588 MB / 3.414 GB, free: 215.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/6.689, allocations: 0 / 3.414 GB, free: 215.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005364/6.689, allocations: 408.7 kB / 3.414 GB, free: 215.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/6.689, allocations: 8.578 kB / 3.414 GB, free: 215.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/6.689, allocations: 4 kB / 3.414 GB, free: 215.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/6.689, allocations: 4 kB / 3.414 GB, free: 215.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/6.69, allocations: 67.91 kB / 3.415 GB, free: 215.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/6.69, allocations: 8.188 kB / 3.415 GB, free: 215.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/6.69, allocations: 31.92 kB / 3.415 GB, free: 215.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/6.69, allocations: 15.98 kB / 3.415 GB, free: 215.1 MB / 1.167 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 () * Number of clocked 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.0002419/6.691, allocations: 213.7 kB / 3.415 GB, free: 214.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-05/6.691, allocations: 55.44 kB / 3.415 GB, free: 214.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/6.691, allocations: 64.7 kB / 3.415 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/6.691, allocations: 4 kB / 3.415 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/6.691, allocations: 3.938 kB / 3.415 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003877/6.691, allocations: 400.3 kB / 3.415 GB, free: 214.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/6.693, allocations: 1.246 MB / 3.417 GB, free: 213 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/6.693, allocations: 4 kB / 3.417 GB, free: 212.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/6.693, allocations: 79.84 kB / 3.417 GB, free: 212.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/6.693, allocations: 4 kB / 3.417 GB, free: 212.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/6.693, allocations: 12 kB / 3.417 GB, free: 212.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/6.693, allocations: 7.984 kB / 3.417 GB, free: 212.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/6.693, allocations: 15.89 kB / 3.417 GB, free: 212.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007786/6.694, allocations: 0.8794 MB / 3.417 GB, free: 211.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/6.694, allocations: 168.5 kB / 3.418 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.749e-05/6.694, allocations: 8 kB / 3.418 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/6.695, allocations: 27.97 kB / 3.418 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/6.695, allocations: 39.92 kB / 3.418 GB, free: 211.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/6.695, allocations: 16 kB / 3.418 GB, free: 211.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000306/6.695, allocations: 327.1 kB / 3.418 GB, free: 211.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/6.695, allocations: 0 / 3.418 GB, free: 211.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009211/6.696, allocations: 224 kB / 3.418 GB, free: 211 MB / 1.167 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 () * Number of clocked 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.00129/6.698, allocations: 0.9478 MB / 3.419 GB, free: 210 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004926/6.698, allocations: 324.6 kB / 3.419 GB, free: 209.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/6.698, allocations: 0 / 3.419 GB, free: 209.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/6.698, allocations: 156.6 kB / 3.42 GB, free: 209.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/6.7, allocations: 355.3 kB / 3.42 GB, free: 209.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/6.702, allocations: 1.313 MB / 3.421 GB, free: 207.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/6.702, allocations: 0.8981 MB / 3.422 GB, free: 206.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007053/6.703, allocations: 132.6 kB / 3.422 GB, free: 206.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/6.703, allocations: 39.44 kB / 3.422 GB, free: 206.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.883e-06/6.703, allocations: 8 kB / 3.422 GB, free: 206.7 MB / 1.167 GB Notification: Performance of Templates: time 0.03134/6.734, allocations: 21.67 MB / 3.443 GB, free: 185.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches