Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 249.3 MB / 261.8 MB, free: 5.816 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.001014/0.001014, allocations: 186.6 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008808/0.0008808, allocations: 96.3 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.053e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2145, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.22/6.435, allocations: 2.191 GB / 3.082 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/6.435, allocations: 84.58 kB / 3.082 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.175/7.61, allocations: 254.7 MB / 3.331 GB, free: 238.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.076e-06/7.61, allocations: 3.984 kB / 3.331 GB, free: 238.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.594e-05/7.61, allocations: 19.28 kB / 3.331 GB, free: 238.9 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001364/7.611, allocations: 0.791 MB / 3.332 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/7.611, allocations: 7.781 kB / 3.332 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/7.612, allocations: 175.1 kB / 3.332 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008059/7.613, allocations: 0.5186 MB / 3.333 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/7.613, allocations: 38.64 kB / 3.333 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.235e-05/7.613, allocations: 46.25 kB / 3.333 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007965/7.614, allocations: 0.4987 MB / 3.333 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/7.614, allocations: 0 / 3.333 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/7.614, allocations: 23.28 kB / 3.333 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/7.614, allocations: 18.86 kB / 3.333 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000575/7.615, allocations: 382.1 kB / 3.334 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/7.617, allocations: 1.883 MB / 3.336 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/7.617, allocations: 207 kB / 3.336 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/7.618, allocations: 138.6 kB / 3.336 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/7.618, allocations: 104.3 kB / 3.336 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/7.618, allocations: 40.19 kB / 3.336 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=23): time 1.352e-06/7.618, allocations: 0 / 3.336 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23): time 0.0006042/7.618, allocations: 288.3 kB / 3.336 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/7.618, allocations: 55.19 kB / 3.336 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/7.619, allocations: 444.3 kB / 3.337 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/7.619, allocations: 29.7 kB / 3.337 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/7.619, allocations: 281.7 kB / 3.337 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/7.619, allocations: 85.78 kB / 3.337 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/7.619, allocations: 7.938 kB / 3.337 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.188e-05/7.619, allocations: 357.1 kB / 3.337 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/7.619, allocations: 111.4 kB / 3.338 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/7.62, allocations: 211.1 kB / 3.338 GB, free: 234 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/7.62, allocations: 138.6 kB / 3.338 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/7.62, allocations: 0 / 3.338 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004813/7.62, allocations: 401 kB / 3.338 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/7.62, allocations: 5.562 kB / 3.338 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/7.62, allocations: 3.625 kB / 3.338 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/7.62, allocations: 4.031 kB / 3.338 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/7.621, allocations: 68.19 kB / 3.338 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/7.621, allocations: 7.812 kB / 3.338 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/7.621, allocations: 58.55 kB / 3.338 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/7.621, allocations: 11 kB / 3.338 GB, free: 233.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 8.956e-05/7.621, allocations: 131.2 kB / 3.339 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/7.621, allocations: 53.55 kB / 3.339 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/7.622, allocations: 54.84 kB / 3.339 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/7.622, allocations: 0 / 3.339 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/7.622, allocations: 0 / 3.339 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003096/7.622, allocations: 337.5 kB / 3.339 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/7.623, allocations: 0.9541 MB / 3.34 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/7.623, allocations: 3.219 kB / 3.34 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/7.623, allocations: 56.44 kB / 3.34 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/7.623, allocations: 7.656 kB / 3.34 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/7.623, allocations: 7.594 kB / 3.34 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/7.623, allocations: 7.453 kB / 3.34 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/7.623, allocations: 3.938 kB / 3.34 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005817/7.624, allocations: 0.6064 MB / 3.341 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/7.624, allocations: 177.5 kB / 3.341 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/7.624, allocations: 11.27 kB / 3.341 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/7.625, allocations: 34.09 kB / 3.341 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/7.625, allocations: 19.83 kB / 3.341 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/7.625, allocations: 17.86 kB / 3.341 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003339/7.625, allocations: 354.8 kB / 3.341 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/7.625, allocations: 0 / 3.341 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008008/7.626, allocations: 237.2 kB / 3.341 GB, free: 231.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.001235/7.627, allocations: 0.948 MB / 3.342 GB, free: 231 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004244/7.628, allocations: 268.9 kB / 3.343 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/7.628, allocations: 1.156 kB / 3.343 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/7.628, allocations: 109.6 kB / 3.343 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/7.629, allocations: 341 kB / 3.343 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/7.63, allocations: 0.7661 MB / 3.344 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/7.631, allocations: 0.9002 MB / 3.345 GB, free: 229.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004535/7.631, allocations: 128.6 kB / 3.345 GB, free: 229.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.457e-05/7.631, allocations: 37.31 kB / 3.345 GB, free: 229.3 MB / 0.8698 GB Notification: Performance of SimCode: time 3.91e-07/7.631, allocations: 0 / 3.345 GB, free: 229.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.02985/7.661, allocations: 24.07 MB / 3.368 GB, free: 207.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches