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.342/2.342, allocations: 390.5 MB / 398 MB, free: 10.89 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.00154/0.00154, allocations: 176.9 kB / 491.2 MB, free: 1.547 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.784/1.784, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001115/0.001115, allocations: 97.2 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.829e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3454, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.459/6.804, allocations: 1.918 GB / 3.13 GB, free: 345.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/6.805, allocations: 87.7 kB / 3.13 GB, free: 345.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4774/7.282, allocations: 261.1 MB / 3.385 GB, free: 103.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.634e-06/7.282, allocations: 0 / 3.385 GB, free: 103.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.32e-05/7.282, allocations: 27.86 kB / 3.385 GB, free: 103.1 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.001442/7.284, allocations: 0.7843 MB / 3.386 GB, free: 102.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/7.284, allocations: 12.03 kB / 3.386 GB, free: 102.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/7.285, allocations: 171.1 kB / 3.386 GB, free: 102.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007365/7.286, allocations: 0.5083 MB / 3.387 GB, free: 101.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/7.286, allocations: 12 kB / 3.387 GB, free: 101.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/7.286, allocations: 32 kB / 3.387 GB, free: 101.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005203/7.286, allocations: 366.4 kB / 3.387 GB, free: 101.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005888/7.287, allocations: 440.2 kB / 3.388 GB, free: 100.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/7.287, allocations: 3.953 kB / 3.388 GB, free: 100.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/7.287, allocations: 0 / 3.388 GB, free: 100.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/7.287, allocations: 17.31 kB / 3.388 GB, free: 100.7 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.002062/7.289, allocations: 1.618 MB / 3.389 GB, free: 98.94 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/7.289, allocations: 272.1 kB / 3.39 GB, free: 98.66 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/7.29, allocations: 173.7 kB / 3.39 GB, free: 98.49 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/7.29, allocations: 101.1 kB / 3.39 GB, free: 98.38 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/7.29, allocations: 38.56 kB / 3.39 GB, free: 98.33 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.423e-06/7.29, allocations: 0 / 3.39 GB, free: 98.33 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001432/7.291, allocations: 0.868 MB / 3.391 GB, free: 97.41 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/7.291, allocations: 55.41 kB / 3.391 GB, free: 97.34 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/7.291, allocations: 286.3 kB / 3.391 GB, free: 97.05 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/7.292, allocations: 29.7 kB / 3.391 GB, free: 97.02 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/7.292, allocations: 260 kB / 3.391 GB, free: 96.76 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/7.292, allocations: 110.3 kB / 3.391 GB, free: 96.65 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/7.292, allocations: 0 / 3.391 GB, free: 96.65 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.559e-05/7.292, allocations: 350.8 kB / 3.392 GB, free: 96.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/7.292, allocations: 123.9 kB / 3.392 GB, free: 96.18 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/7.292, allocations: 182.8 kB / 3.392 GB, free: 95.98 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.001297/7.293, allocations: 0.5393 MB / 3.393 GB, free: 95.42 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/7.293, allocations: 0 / 3.393 GB, free: 95.42 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004335/7.294, allocations: 376.6 kB / 3.393 GB, free: 95.04 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/7.294, allocations: 8 kB / 3.393 GB, free: 95.04 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/7.294, allocations: 0 / 3.393 GB, free: 95.04 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/7.294, allocations: 4 kB / 3.393 GB, free: 95.03 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/7.294, allocations: 71.91 kB / 3.393 GB, free: 94.96 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/7.294, allocations: 11.88 kB / 3.393 GB, free: 94.95 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/7.295, allocations: 28.02 kB / 3.393 GB, free: 94.92 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/7.295, allocations: 16 kB / 3.393 GB, free: 94.91 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.739e-05/7.295, allocations: 112.9 kB / 3.393 GB, free: 94.79 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.95e-05/7.295, allocations: 43.48 kB / 3.393 GB, free: 94.75 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/7.295, allocations: 48.69 kB / 3.393 GB, free: 94.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/7.295, allocations: 4 kB / 3.393 GB, free: 94.69 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/7.295, allocations: 4 kB / 3.393 GB, free: 94.69 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003453/7.295, allocations: 376.3 kB / 3.394 GB, free: 94.29 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/7.297, allocations: 1.137 MB / 3.395 GB, free: 93.06 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/7.297, allocations: 4.5 kB / 3.395 GB, free: 93.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/7.297, allocations: 79.89 kB / 3.395 GB, free: 92.98 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/7.297, allocations: 4 kB / 3.395 GB, free: 92.97 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/7.297, allocations: 8 kB / 3.395 GB, free: 92.96 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/7.297, allocations: 4 kB / 3.395 GB, free: 92.96 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/7.297, allocations: 11.89 kB / 3.395 GB, free: 92.95 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/7.298, allocations: 0.8487 MB / 3.396 GB, free: 91.94 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/7.298, allocations: 156.6 kB / 3.396 GB, free: 91.77 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/7.298, allocations: 12 kB / 3.396 GB, free: 91.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/7.298, allocations: 23.83 kB / 3.396 GB, free: 91.73 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/7.298, allocations: 39.92 kB / 3.396 GB, free: 91.69 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/7.298, allocations: 19.92 kB / 3.396 GB, free: 91.67 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001708/7.299, allocations: 228.6 kB / 3.396 GB, free: 91.45 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/7.299, allocations: 0 / 3.396 GB, free: 91.45 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006892/7.299, allocations: 188 kB / 3.396 GB, free: 91.27 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.001223/7.301, allocations: 1.071 MB / 3.397 GB, free: 90.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000412/7.301, allocations: 287.7 kB / 3.398 GB, free: 89.92 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/7.301, allocations: 4 kB / 3.398 GB, free: 89.91 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/7.301, allocations: 148.2 kB / 3.398 GB, free: 89.77 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/7.302, allocations: 264.8 kB / 3.398 GB, free: 89.52 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/7.304, allocations: 0.8211 MB / 3.399 GB, free: 88.62 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/7.304, allocations: 0.8939 MB / 3.4 GB, free: 87.71 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004202/7.304, allocations: 128.2 kB / 3.4 GB, free: 87.58 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.289e-05/7.304, allocations: 39.44 kB / 3.4 GB, free: 87.54 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/7.304, allocations: 0 / 3.4 GB, free: 87.54 MB / 1.151 GB Notification: Performance of Templates: time 0.01802/7.322, allocations: 13.22 MB / 3.413 GB, free: 74.44 MB / 1.151 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