Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.024/2.024, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.0009597/0.0009597, allocations: 188.8 kB / 487.4 MB, free: 5.051 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.384/1.384, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008791/0.000879, allocations: 102.2 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.698e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2112, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.441/4.652, allocations: 1.921 GB / 3.127 GB, free: 431.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/4.652, allocations: 87.95 kB / 3.127 GB, free: 431.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.675/5.327, allocations: 369.6 MB / 3.488 GB, free: 54.06 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.553e-06/5.328, allocations: 0 / 3.488 GB, free: 54.06 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.661e-05/5.328, allocations: 19.98 kB / 3.488 GB, free: 54.04 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.001977/5.33, allocations: 0.8768 MB / 3.489 GB, free: 53.11 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/5.33, allocations: 8.031 kB / 3.489 GB, free: 53.11 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/5.331, allocations: 171 kB / 3.489 GB, free: 52.94 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/5.332, allocations: 0.5623 MB / 3.489 GB, free: 52.34 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/5.332, allocations: 16 kB / 3.489 GB, free: 52.32 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.491e-05/5.332, allocations: 28 kB / 3.489 GB, free: 52.29 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005906/5.333, allocations: 346.5 kB / 3.49 GB, free: 51.95 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/5.333, allocations: 371.9 kB / 3.49 GB, free: 51.59 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/5.333, allocations: 0 / 3.49 GB, free: 51.59 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/5.333, allocations: 0 / 3.49 GB, free: 51.59 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/5.333, allocations: 17.3 kB / 3.49 GB, free: 51.57 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.002427/5.336, allocations: 1.924 MB / 3.492 GB, free: 49.48 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/5.336, allocations: 258.8 kB / 3.492 GB, free: 49.22 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/5.336, allocations: 162 kB / 3.492 GB, free: 49.06 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/5.337, allocations: 190.2 kB / 3.493 GB, free: 48.84 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/5.337, allocations: 38.56 kB / 3.493 GB, free: 48.79 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/5.337, allocations: 0 / 3.493 GB, free: 48.79 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.0008892/5.338, allocations: 379.2 kB / 3.493 GB, free: 48.41 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/5.338, allocations: 55.41 kB / 3.493 GB, free: 48.34 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/5.338, allocations: 333.2 kB / 3.493 GB, free: 48.02 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/5.338, allocations: 25.7 kB / 3.493 GB, free: 47.98 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/5.338, allocations: 284 kB / 3.494 GB, free: 47.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.951e-05/5.338, allocations: 98.56 kB / 3.494 GB, free: 47.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/5.338, allocations: 0 / 3.494 GB, free: 47.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.328e-05/5.338, allocations: 358.8 kB / 3.494 GB, free: 47.24 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/5.339, allocations: 104 kB / 3.494 GB, free: 47.14 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/5.339, allocations: 180.3 kB / 3.494 GB, free: 46.93 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/5.339, allocations: 143.8 kB / 3.495 GB, free: 46.79 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/5.339, allocations: 0 / 3.495 GB, free: 46.79 MB / 1.151 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004321/5.339, allocations: 344.9 kB / 3.495 GB, free: 46.45 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/5.339, allocations: 0.5254 MB / 3.495 GB, free: 45.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/5.339, allocations: 8 kB / 3.495 GB, free: 45.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/5.339, allocations: 7.938 kB / 3.495 GB, free: 45.87 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/5.34, allocations: 71.91 kB / 3.495 GB, free: 45.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/5.34, allocations: 4 kB / 3.495 GB, free: 45.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/5.34, allocations: 59.64 kB / 3.496 GB, free: 45.73 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/5.34, allocations: 8 kB / 3.496 GB, free: 45.73 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/5.34, allocations: 4 kB / 3.496 GB, free: 45.72 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003537/5.341, allocations: 272 kB / 3.496 GB, free: 45.46 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/5.341, allocations: 8.156 kB / 3.496 GB, free: 45.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/5.341, allocations: 4 kB / 3.496 GB, free: 45.45 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/5.341, allocations: 71.91 kB / 3.496 GB, free: 45.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/5.341, allocations: 4 kB / 3.496 GB, free: 45.37 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/5.342, allocations: 51.8 kB / 3.496 GB, free: 45.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/5.342, allocations: 8 kB / 3.496 GB, free: 45.31 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.554e-05/5.342, allocations: 116.9 kB / 3.496 GB, free: 45.19 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.563e-05/5.342, allocations: 55.41 kB / 3.496 GB, free: 45.14 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005593/5.342, allocations: 359.4 kB / 3.496 GB, free: 44.78 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/5.342, allocations: 4 kB / 3.496 GB, free: 44.77 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/5.342, allocations: 0 / 3.496 GB, free: 44.77 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004133/5.343, allocations: 401.2 kB / 3.497 GB, free: 44.35 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/5.344, allocations: 1.009 MB / 3.498 GB, free: 43.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/5.344, allocations: 3.938 kB / 3.498 GB, free: 43.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/5.344, allocations: 63.89 kB / 3.498 GB, free: 43.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/5.345, allocations: 45.05 kB / 3.498 GB, free: 43.16 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/5.345, allocations: 11.94 kB / 3.498 GB, free: 43.14 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009058/5.346, allocations: 1.393 MB / 3.499 GB, free: 41.63 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/5.346, allocations: 0 / 3.499 GB, free: 41.63 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/5.346, allocations: 0.7112 MB / 3.5 GB, free: 40.84 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/5.346, allocations: 160.5 kB / 3.5 GB, free: 40.66 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.068e-05/5.347, allocations: 7.984 kB / 3.5 GB, free: 40.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/5.347, allocations: 47.77 kB / 3.5 GB, free: 40.61 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/5.347, allocations: 23.97 kB / 3.5 GB, free: 40.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/5.347, allocations: 8 kB / 3.5 GB, free: 40.58 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002267/5.347, allocations: 267 kB / 3.501 GB, free: 40.32 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.347, allocations: 0 / 3.501 GB, free: 40.32 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00112/5.348, allocations: 379.2 kB / 3.501 GB, free: 39.95 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001702/5.35, allocations: 1.267 MB / 3.502 GB, free: 38.67 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005865/5.351, allocations: 438.4 kB / 3.503 GB, free: 38.24 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/5.351, allocations: 0 / 3.503 GB, free: 38.24 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003415/5.351, allocations: 257.6 kB / 3.503 GB, free: 37.98 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/5.352, allocations: 277.6 kB / 3.503 GB, free: 37.71 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/5.354, allocations: 0.8136 MB / 3.504 GB, free: 36.85 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/5.354, allocations: 0.9177 MB / 3.505 GB, free: 35.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000655/5.355, allocations: 188.2 kB / 3.505 GB, free: 35.72 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/5.355, allocations: 35.44 kB / 3.505 GB, free: 35.68 MB / 1.151 GB Notification: Performance of SimCode: time 3.71e-07/5.355, allocations: 0 / 3.505 GB, free: 35.68 MB / 1.151 GB Notification: Performance of Templates: time 0.02217/5.377, allocations: 15.54 MB / 3.52 GB, free: 20.25 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches