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.611/2.611, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001254/0.001254, allocations: 185 kB / 498.1 MB, free: 5.742 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.572/1.572, allocations: 223.2 MB / 0.7948 GB, free: 18.81 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.001089/0.001089, allocations: 96.2 kB / 0.9346 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004041, allocations: 11.03 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.291, allocations: 142.4 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.584/4.875, allocations: 1.918 GB / 3.141 GB, free: 67.32 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/4.875, allocations: 92.52 kB / 3.141 GB, free: 67.23 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.208/6.083, allocations: 264.5 MB / 3.399 GB, free: 275.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.262e-06/6.083, allocations: 0 / 3.399 GB, free: 275.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.528e-05/6.083, allocations: 16 kB / 3.399 GB, free: 275.3 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.001461/6.084, allocations: 0.8749 MB / 3.4 GB, free: 274.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/6.084, allocations: 8.031 kB / 3.4 GB, free: 274.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/6.085, allocations: 167.2 kB / 3.4 GB, free: 274.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007696/6.086, allocations: 0.5296 MB / 3.401 GB, free: 273.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/6.086, allocations: 29 kB / 3.401 GB, free: 273.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/6.086, allocations: 44 kB / 3.401 GB, free: 273.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006961/6.087, allocations: 0.4942 MB / 3.401 GB, free: 273.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/6.087, allocations: 3.938 kB / 3.401 GB, free: 273.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/6.087, allocations: 16 kB / 3.401 GB, free: 273.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/6.087, allocations: 17 kB / 3.401 GB, free: 273 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005241/6.088, allocations: 399.8 kB / 3.402 GB, free: 272.7 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.002069/6.09, allocations: 1.724 MB / 3.403 GB, free: 270.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/6.09, allocations: 287.7 kB / 3.404 GB, free: 270.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/6.09, allocations: 109 kB / 3.404 GB, free: 270.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/6.09, allocations: 34.56 kB / 3.404 GB, free: 270.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 1.623e-06/6.09, allocations: 0 / 3.404 GB, free: 270.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001633/6.092, allocations: 1.048 MB / 3.405 GB, free: 269.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/6.092, allocations: 59.41 kB / 3.405 GB, free: 269.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/6.092, allocations: 405 kB / 3.405 GB, free: 268.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/6.092, allocations: 33.7 kB / 3.405 GB, free: 268.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/6.093, allocations: 252.1 kB / 3.406 GB, free: 268.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.77e-05/6.093, allocations: 114.3 kB / 3.406 GB, free: 268.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/6.093, allocations: 7.938 kB / 3.406 GB, free: 268.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.061e-05/6.093, allocations: 358.8 kB / 3.406 GB, free: 268 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/6.093, allocations: 119.9 kB / 3.406 GB, free: 267.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/6.093, allocations: 206.5 kB / 3.406 GB, free: 267.6 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.00128/6.094, allocations: 0.5587 MB / 3.407 GB, free: 267.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/6.094, allocations: 3.938 kB / 3.407 GB, free: 267.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004765/6.095, allocations: 412.5 kB / 3.407 GB, free: 266.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/6.095, allocations: 8 kB / 3.407 GB, free: 266.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/6.095, allocations: 0 / 3.407 GB, free: 266.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/6.095, allocations: 4 kB / 3.407 GB, free: 266.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/6.095, allocations: 67.91 kB / 3.407 GB, free: 266.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/6.095, allocations: 8.188 kB / 3.407 GB, free: 266.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/6.096, allocations: 39.81 kB / 3.407 GB, free: 266.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/6.096, allocations: 11.95 kB / 3.407 GB, free: 266.5 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.0002144/6.096, allocations: 210.4 kB / 3.408 GB, free: 266.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/6.096, allocations: 51.44 kB / 3.408 GB, free: 266.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/6.096, allocations: 64.75 kB / 3.408 GB, free: 266.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/6.096, allocations: 4 kB / 3.408 GB, free: 266.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/6.096, allocations: 0 / 3.408 GB, free: 266.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003651/6.096, allocations: 404.3 kB / 3.408 GB, free: 265.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/6.098, allocations: 1.247 MB / 3.409 GB, free: 264.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/6.098, allocations: 8 kB / 3.409 GB, free: 264.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/6.098, allocations: 71.84 kB / 3.409 GB, free: 264.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/6.098, allocations: 8 kB / 3.409 GB, free: 264.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/6.098, allocations: 15.98 kB / 3.409 GB, free: 264.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/6.098, allocations: 4 kB / 3.409 GB, free: 264.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/6.098, allocations: 7.938 kB / 3.409 GB, free: 264.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006874/6.099, allocations: 0.8846 MB / 3.41 GB, free: 263.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/6.099, allocations: 172.4 kB / 3.411 GB, free: 263.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/6.099, allocations: 15.98 kB / 3.411 GB, free: 263 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/6.1, allocations: 27.92 kB / 3.411 GB, free: 263 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/6.1, allocations: 35.92 kB / 3.411 GB, free: 263 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/6.1, allocations: 20 kB / 3.411 GB, free: 263 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003236/6.1, allocations: 331 kB / 3.411 GB, free: 262.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.2e-07/6.1, allocations: 0 / 3.411 GB, free: 262.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001065/6.101, allocations: 224 kB / 3.411 GB, free: 262.4 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.001389/6.103, allocations: 0.9516 MB / 3.412 GB, free: 261.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005165/6.103, allocations: 308.5 kB / 3.412 GB, free: 261.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/6.103, allocations: 4 kB / 3.412 GB, free: 261.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/6.103, allocations: 160.5 kB / 3.413 GB, free: 261 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/6.105, allocations: 347.8 kB / 3.413 GB, free: 260.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/6.106, allocations: 1.317 MB / 3.414 GB, free: 259.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/6.107, allocations: 0.902 MB / 3.415 GB, free: 258.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004464/6.107, allocations: 124.6 kB / 3.415 GB, free: 258.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/6.107, allocations: 43.44 kB / 3.415 GB, free: 258.2 MB / 1.167 GB Notification: Performance of SimCode: time 5.41e-07/6.107, allocations: 4 kB / 3.415 GB, free: 258.2 MB / 1.167 GB Notification: Performance of Templates: time 0.02651/6.134, allocations: 21.66 MB / 3.436 GB, free: 236.7 MB / 1.167 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