Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_11_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_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 108.6 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 189.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.667/2.667, allocations: 469.8 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 62.53 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3176, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.7042/1.022, allocations: 174.8 MB / 1.235 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007852/1.03, allocations: 4.385 MB / 1.239 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/1.031, allocations: 27.81 kB / 1.239 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/1.032, allocations: 310.4 kB / 1.239 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003461/1.036, allocations: 1.171 MB / 1.241 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/1.038, allocations: 0.6396 MB / 1.241 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00233/1.04, allocations: 1.625 MB / 1.243 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008102/1.041, allocations: 0.5095 MB / 1.243 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/1.042, allocations: 0.6771 MB / 1.244 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/1.043, allocations: 0.5143 MB / 1.244 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.146e-05/1.044, allocations: 52 kB / 1.244 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/1.046, allocations: 1.333 MB / 1.246 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002923/1.046, allocations: 239.3 kB / 1.246 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004376/1.047, allocations: 350.3 kB / 1.246 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/1.048, allocations: 0.955 MB / 1.247 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.048, allocations: 0 / 1.247 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/1.048, allocations: 0 / 1.247 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.218e-06/1.048, allocations: 0 / 1.247 GB, free: 13.66 MB / 0.9669 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.001753/1.05, allocations: 1.001 MB / 1.248 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.05, allocations: 12.03 kB / 1.248 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/1.051, allocations: 175 kB / 1.248 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009043/1.052, allocations: 0.5206 MB / 1.249 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/1.052, allocations: 29 kB / 1.249 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.367e-05/1.052, allocations: 48 kB / 1.249 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009151/1.053, allocations: 470.4 kB / 1.249 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/1.053, allocations: 3.938 kB / 1.249 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-05/1.053, allocations: 16 kB / 1.249 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/1.053, allocations: 16.98 kB / 1.249 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008121/1.054, allocations: 419.7 kB / 1.25 GB, free: 10.87 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002982/1.057, allocations: 2.032 MB / 1.252 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/1.058, allocations: 290.7 kB / 1.252 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/1.058, allocations: 186.3 kB / 1.252 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003189/1.059, allocations: 194.1 kB / 1.253 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.147e-05/1.059, allocations: 38.56 kB / 1.253 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 3.266e-06/1.059, allocations: 0 / 1.253 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.001758/1.06, allocations: 0.6409 MB / 1.253 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/1.06, allocations: 59.41 kB / 1.253 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005606/1.061, allocations: 450 kB / 1.254 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/1.061, allocations: 33.7 kB / 1.254 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/1.061, allocations: 276.2 kB / 1.254 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/1.061, allocations: 106.5 kB / 1.254 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/1.062, allocations: 65.7 kB / 1.254 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001863/1.062, allocations: 350.8 kB / 1.254 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/1.062, allocations: 140.5 kB / 1.255 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/1.062, allocations: 198.8 kB / 1.255 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/1.063, allocations: 340.9 kB / 1.255 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.063, allocations: 0 / 1.255 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007784/1.064, allocations: 404.9 kB / 1.256 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.064, allocations: 7.938 kB / 1.256 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.064, allocations: 0 / 1.256 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.064, allocations: 7.984 kB / 1.256 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/1.064, allocations: 68.97 kB / 1.256 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/1.064, allocations: 4 kB / 1.256 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/1.065, allocations: 59.73 kB / 1.256 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/1.065, allocations: 16 kB / 1.256 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000465/1.065, allocations: 288 kB / 1.256 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003493/1.066, allocations: 208.3 kB / 1.256 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005774/1.066, allocations: 325.2 kB / 1.256 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.382e-06/1.066, allocations: 0 / 1.256 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007337/1.067, allocations: 404.8 kB / 1.257 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/1.067, allocations: 8 kB / 1.257 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/1.067, allocations: 8.094 kB / 1.257 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/1.067, allocations: 4 kB / 1.257 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/1.067, allocations: 64.78 kB / 1.257 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/1.067, allocations: 7.984 kB / 1.257 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/1.068, allocations: 51.72 kB / 1.257 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/1.068, allocations: 15.98 kB / 1.257 GB, free: 3.199 MB / 0.9669 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001785/1.068, allocations: 200.2 kB / 1.257 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-05/1.068, allocations: 55.31 kB / 1.257 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009286/1.069, allocations: 426.2 kB / 1.258 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.069, allocations: 0 / 1.258 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.069, allocations: 5.5 kB / 1.258 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007556/1.07, allocations: 449.3 kB / 1.258 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/1.072, allocations: 1.131 MB / 1.259 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.072, allocations: 4.219 kB / 1.259 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/1.072, allocations: 59.91 kB / 1.259 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002461/1.072, allocations: 44.83 kB / 1.259 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/1.073, allocations: 8 kB / 1.259 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/1.074, allocations: 1.543 MB / 1.261 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.074, allocations: 7.938 kB / 1.261 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/1.075, allocations: 0.7009 MB / 1.261 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/1.076, allocations: 160.5 kB / 1.262 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.286e-05/1.076, allocations: 8 kB / 1.262 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/1.076, allocations: 36.03 kB / 1.262 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/1.076, allocations: 23.97 kB / 1.262 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/1.076, allocations: 15.94 kB / 1.262 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000411/1.077, allocations: 318.9 kB / 1.262 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/1.077, allocations: 0 / 1.262 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009212/1.078, allocations: 303.2 kB / 1.262 GB, free: 13.42 MB / 0.9825 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005028/1.078, allocations: 197.4 kB / 1.262 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001086/1.079, allocations: 0.5032 MB / 1.263 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.079, allocations: 0 / 1.263 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005676/1.08, allocations: 290.3 kB / 1.263 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/1.081, allocations: 305.9 kB / 1.264 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/1.083, allocations: 1.339 MB / 1.265 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/1.084, allocations: 0.8975 MB / 1.266 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/1.084, allocations: 47.44 kB / 1.266 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of SimCode: time 2.274e-06/1.084, allocations: 0 / 1.266 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of Templates: time 0.016/1.1, allocations: 9.643 MB / 1.275 GB, free: 220 kB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches