Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 249.5 MB / 257 MB, free: 7.047 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.001233/0.001233, allocations: 172.8 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008403/0.0008402, allocations: 82.53 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.881e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2005, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.976/6.177, allocations: 2.195 GB / 3.08 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004427/6.177, allocations: 83.95 kB / 3.08 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.375/7.552, allocations: 353.8 MB / 3.425 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.994e-06/7.553, allocations: 0 / 3.425 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.469e-05/7.553, allocations: 19.75 kB / 3.425 GB, free: 198.2 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001778/7.554, allocations: 0.8885 MB / 3.426 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/7.554, allocations: 8.031 kB / 3.426 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/7.555, allocations: 167 kB / 3.426 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009287/7.556, allocations: 0.5554 MB / 3.427 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/7.556, allocations: 12 kB / 3.427 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/7.557, allocations: 35.95 kB / 3.427 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005482/7.557, allocations: 342.5 kB / 3.427 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/7.558, allocations: 375.9 kB / 3.428 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/7.558, allocations: 0 / 3.428 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/7.558, allocations: 0 / 3.428 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/7.558, allocations: 17.31 kB / 3.428 GB, free: 195.8 MB / 0.8698 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.002278/7.56, allocations: 1.93 MB / 3.43 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/7.56, allocations: 250.6 kB / 3.43 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/7.561, allocations: 155 kB / 3.43 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/7.561, allocations: 194 kB / 3.43 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/7.561, allocations: 34.56 kB / 3.43 GB, free: 193 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 1.824e-06/7.561, allocations: 0 / 3.43 GB, free: 193 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.0008757/7.562, allocations: 373.7 kB / 3.43 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/7.562, allocations: 55.41 kB / 3.431 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/7.562, allocations: 337.3 kB / 3.431 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/7.562, allocations: 25.7 kB / 3.431 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/7.562, allocations: 280 kB / 3.431 GB, free: 192 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.157e-05/7.563, allocations: 94.56 kB / 3.431 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/7.563, allocations: 4 kB / 3.431 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001197/7.563, allocations: 362.7 kB / 3.432 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/7.563, allocations: 100.9 kB / 3.432 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/7.563, allocations: 192.8 kB / 3.432 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/7.563, allocations: 138.3 kB / 3.432 GB, free: 191 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/7.563, allocations: 0 / 3.432 GB, free: 191 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004143/7.564, allocations: 336.9 kB / 3.432 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/7.564, allocations: 0.535 MB / 3.433 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/7.564, allocations: 4 kB / 3.433 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/7.564, allocations: 0 / 3.433 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/7.564, allocations: 79.84 kB / 3.433 GB, free: 190 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/7.564, allocations: 4 kB / 3.433 GB, free: 190 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/7.565, allocations: 51.66 kB / 3.433 GB, free: 190 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/7.565, allocations: 15.98 kB / 3.433 GB, free: 190 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/7.565, allocations: 4 kB / 3.433 GB, free: 190 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003453/7.565, allocations: 272.1 kB / 3.433 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/7.565, allocations: 0 / 3.433 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-06/7.565, allocations: 4 kB / 3.433 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/7.565, allocations: 71.84 kB / 3.433 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/7.565, allocations: 7.984 kB / 3.433 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/7.566, allocations: 43.88 kB / 3.433 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/7.566, allocations: 16 kB / 3.433 GB, free: 189.6 MB / 0.8698 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.948e-05/7.566, allocations: 113 kB / 3.433 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/7.566, allocations: 47.42 kB / 3.434 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005976/7.567, allocations: 360.7 kB / 3.434 GB, free: 189 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/7.567, allocations: 4 kB / 3.434 GB, free: 189 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/7.567, allocations: 0 / 3.434 GB, free: 189 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004208/7.567, allocations: 393.1 kB / 3.434 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/7.568, allocations: 1.016 MB / 3.435 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/7.568, allocations: 0 / 3.435 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/7.569, allocations: 63.89 kB / 3.435 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/7.569, allocations: 49.05 kB / 3.435 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/7.569, allocations: 4 kB / 3.435 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009496/7.57, allocations: 1.397 MB / 3.437 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/7.57, allocations: 3.938 kB / 3.437 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007208/7.57, allocations: 0.713 MB / 3.437 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/7.571, allocations: 164.5 kB / 3.438 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/7.571, allocations: 4 kB / 3.438 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/7.571, allocations: 43.95 kB / 3.438 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/7.571, allocations: 28.06 kB / 3.438 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/7.571, allocations: 15.98 kB / 3.438 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002298/7.571, allocations: 259 kB / 3.438 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/7.571, allocations: 0 / 3.438 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001115/7.573, allocations: 395 kB / 3.438 GB, free: 184.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (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.001705/7.574, allocations: 1.252 MB / 3.44 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005446/7.575, allocations: 430.2 kB / 3.44 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/7.575, allocations: 7.938 kB / 3.44 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003405/7.575, allocations: 260.1 kB / 3.44 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/7.577, allocations: 274.6 kB / 3.44 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/7.578, allocations: 0.8075 MB / 3.441 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/7.578, allocations: 0.9138 MB / 3.442 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006132/7.579, allocations: 192.2 kB / 3.442 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/7.579, allocations: 39.42 kB / 3.442 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/7.579, allocations: 0 / 3.442 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.02141/7.6, allocations: 15.67 MB / 3.458 GB, free: 164.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches