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.281/2.281, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001655/0.001655, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.781/1.781, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.0009826/0.0009824, allocations: 91.91 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.335e-05/5.39e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.413, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.467/6.88, allocations: 1.919 GB / 3.137 GB, free: 395.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/6.88, allocations: 88.61 kB / 3.138 GB, free: 395.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.5337/7.414, allocations: 264.3 MB / 3.396 GB, free: 126.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.393e-06/7.414, allocations: 0 / 3.396 GB, free: 126.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.782e-05/7.414, allocations: 16 kB / 3.396 GB, free: 126.2 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.001977/7.416, allocations: 0.7994 MB / 3.396 GB, free: 125.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/7.416, allocations: 12.03 kB / 3.396 GB, free: 125.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/7.418, allocations: 167.2 kB / 3.397 GB, free: 125.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/7.419, allocations: 0.5118 MB / 3.397 GB, free: 124.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/7.419, allocations: 33 kB / 3.397 GB, free: 124.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/7.419, allocations: 40 kB / 3.397 GB, free: 124.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009132/7.42, allocations: 498.2 kB / 3.398 GB, free: 124.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/7.42, allocations: 0 / 3.398 GB, free: 124.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/7.42, allocations: 27.95 kB / 3.398 GB, free: 124 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/7.42, allocations: 13 kB / 3.398 GB, free: 124 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006539/7.421, allocations: 387.8 kB / 3.398 GB, free: 123.6 MB / 1.167 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.002702/7.424, allocations: 1.728 MB / 3.4 GB, free: 121.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/7.424, allocations: 291.1 kB / 3.4 GB, free: 121.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/7.424, allocations: 173.7 kB / 3.4 GB, free: 121.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/7.425, allocations: 105.1 kB / 3.4 GB, free: 121.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/7.425, allocations: 38.56 kB / 3.4 GB, free: 121.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/7.425, allocations: 0 / 3.4 GB, free: 121.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001955/7.427, allocations: 0.9187 MB / 3.401 GB, free: 120.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/7.427, allocations: 63.41 kB / 3.401 GB, free: 120.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004581/7.427, allocations: 395.1 kB / 3.402 GB, free: 119.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/7.427, allocations: 33.7 kB / 3.402 GB, free: 119.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/7.427, allocations: 252.1 kB / 3.402 GB, free: 119.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.251e-05/7.427, allocations: 118.3 kB / 3.402 GB, free: 119.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/7.427, allocations: 4 kB / 3.402 GB, free: 119.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.474e-05/7.428, allocations: 354.8 kB / 3.402 GB, free: 118.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/7.428, allocations: 124 kB / 3.403 GB, free: 118.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/7.428, allocations: 190.8 kB / 3.403 GB, free: 118.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.001455/7.429, allocations: 0.5644 MB / 3.403 GB, free: 118 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/7.429, allocations: 7.953 kB / 3.403 GB, free: 118 MB / 1.167 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005351/7.43, allocations: 392.8 kB / 3.404 GB, free: 117.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/7.43, allocations: 8 kB / 3.404 GB, free: 117.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/7.43, allocations: 0 / 3.404 GB, free: 117.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/7.43, allocations: 4 kB / 3.404 GB, free: 117.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/7.43, allocations: 80.03 kB / 3.404 GB, free: 117.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/7.43, allocations: 11.92 kB / 3.404 GB, free: 117.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005037/7.431, allocations: 31.83 kB / 3.404 GB, free: 117.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/7.431, allocations: 12 kB / 3.404 GB, free: 117.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 () * 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.0001356/7.431, allocations: 128.9 kB / 3.404 GB, free: 117.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/7.431, allocations: 51.39 kB / 3.404 GB, free: 117.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/7.431, allocations: 64.88 kB / 3.404 GB, free: 117.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/7.431, allocations: 4 kB / 3.404 GB, free: 117.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/7.431, allocations: 0 / 3.404 GB, free: 117.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004378/7.432, allocations: 400.5 kB / 3.404 GB, free: 116.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/7.434, allocations: 1.235 MB / 3.406 GB, free: 115.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/7.434, allocations: 4 kB / 3.406 GB, free: 115.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/7.434, allocations: 71.91 kB / 3.406 GB, free: 115.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-05/7.434, allocations: 11.95 kB / 3.406 GB, free: 115.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/7.434, allocations: 15.98 kB / 3.406 GB, free: 115.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/7.434, allocations: 7.938 kB / 3.406 GB, free: 115.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/7.434, allocations: 4 kB / 3.406 GB, free: 115.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/7.435, allocations: 0.8757 MB / 3.407 GB, free: 114.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/7.435, allocations: 172.4 kB / 3.407 GB, free: 114.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/7.436, allocations: 16 kB / 3.407 GB, free: 114.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/7.436, allocations: 35.98 kB / 3.407 GB, free: 114.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/7.436, allocations: 27.92 kB / 3.407 GB, free: 114.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/7.436, allocations: 23.92 kB / 3.407 GB, free: 114 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000404/7.437, allocations: 321.2 kB / 3.407 GB, free: 113.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.81e-07/7.437, allocations: 0 / 3.407 GB, free: 113.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001079/7.438, allocations: 228 kB / 3.407 GB, free: 113.5 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 () * 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.001861/7.44, allocations: 0.9556 MB / 3.408 GB, free: 112.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006186/7.44, allocations: 301.6 kB / 3.409 GB, free: 112.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/7.44, allocations: 4 kB / 3.409 GB, free: 112.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/7.44, allocations: 164.4 kB / 3.409 GB, free: 112.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/7.442, allocations: 346.5 kB / 3.409 GB, free: 111.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/7.444, allocations: 0.8591 MB / 3.41 GB, free: 110.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/7.444, allocations: 0.8942 MB / 3.411 GB, free: 109.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006104/7.445, allocations: 132.6 kB / 3.411 GB, free: 109.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/7.445, allocations: 43.44 kB / 3.411 GB, free: 109.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.362e-06/7.445, allocations: 0 / 3.411 GB, free: 109.7 MB / 1.167 GB Notification: Performance of Templates: time 0.03226/7.477, allocations: 24.26 MB / 3.435 GB, free: 85.57 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