Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.MixingVolume,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.medium.T|vol1.T|vol2.T|res1.m_flow|res2.m_flow|cheEqu1.y|cheEqu2.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.medium.T|vol1.T|vol2.T|res1.m_flow|res2.m_flow|cheEqu1.y|cheEqu2.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001677, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 197.6 kB / 16.79 MB, free: 6.809 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.376/1.376, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 437 MB / 0.7106 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 63.89 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7044/0.7059, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.262/0.9679, allocations: 240.5 MB / 1.252 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7448/1.713, allocations: 16.07 MB / 1.268 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004053/1.717, allocations: 71.97 kB / 1.268 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00387/1.721, allocations: 1.016 MB / 1.269 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01266/1.734, allocations: 3.606 MB / 1.272 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006357/1.74, allocations: 1.613 MB / 1.274 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01269/1.753, allocations: 7.421 MB / 1.281 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003101/1.756, allocations: 1.421 MB / 1.283 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007476/1.763, allocations: 2.34 MB / 1.285 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005343/1.769, allocations: 1.775 MB / 1.287 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006863/1.769, allocations: 103.4 kB / 1.287 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008958/1.778, allocations: 3.152 MB / 1.29 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001527/1.78, allocations: 0.6997 MB / 1.29 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003446/1.783, allocations: 1.069 MB / 1.292 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004566/1.788, allocations: 2.609 MB / 1.294 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.788, allocations: 3 kB / 1.294 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.705e-06/1.788, allocations: 2.938 kB / 1.294 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.053e-05/1.788, allocations: 0 / 1.294 GB, free: 1.305 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004784/1.793, allocations: 2.499 MB / 1.297 GB, free: 16.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/1.793, allocations: 8.406 kB / 1.297 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/1.796, allocations: 0.5072 MB / 1.297 GB, free: 16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/1.798, allocations: 1.27 MB / 1.298 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/1.799, allocations: 183.4 kB / 1.298 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/1.799, allocations: 149.8 kB / 1.299 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/1.802, allocations: 1.738 MB / 1.3 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/1.802, allocations: 5.375 kB / 1.3 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/1.802, allocations: 60.69 kB / 1.3 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.02e-05/1.802, allocations: 64.89 kB / 1.3 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/1.804, allocations: 1.372 MB / 1.302 GB, free: 15.23 MB / 1.014 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.01047/1.815, allocations: 8.194 MB / 1.31 GB, free: 10.37 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/1.817, allocations: 0.9008 MB / 1.311 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008024/1.818, allocations: 0.5325 MB / 1.311 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006331/1.818, allocations: 316.5 kB / 1.311 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/1.818, allocations: 57.08 kB / 1.312 GB, free: 9.992 MB / 1.014 GB Notification: Performance of pre-optimization done (n=96): time 3.006e-06/1.818, allocations: 1.312 kB / 1.312 GB, free: 9.992 MB / 1.014 GB Notification: Performance of matching and sorting (n=102): time 0.007609/1.826, allocations: 3.112 MB / 1.315 GB, free: 9.363 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/1.826, allocations: 67.59 kB / 1.315 GB, free: 9.301 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/1.828, allocations: 1.261 MB / 1.316 GB, free: 9.129 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000141/1.828, allocations: 53.7 kB / 1.316 GB, free: 9.098 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006037/1.828, allocations: 0.808 MB / 1.317 GB, free: 8.781 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/1.829, allocations: 362.6 kB / 1.317 GB, free: 8.551 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003278/1.829, allocations: 228.7 kB / 1.317 GB, free: 8.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.829, allocations: 354.8 kB / 1.318 GB, free: 8.215 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000828/1.83, allocations: 449.7 kB / 1.318 GB, free: 8.199 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/1.831, allocations: 0.822 MB / 1.319 GB, free: 7.758 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/1.833, allocations: 1.256 MB / 1.32 GB, free: 7.402 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.833, allocations: 0 / 1.32 GB, free: 7.402 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002611/1.836, allocations: 1.405 MB / 1.321 GB, free: 7.281 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/1.836, allocations: 9.25 kB / 1.321 GB, free: 7.281 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/1.836, allocations: 14.53 kB / 1.321 GB, free: 7.277 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/1.836, allocations: 15.78 kB / 1.321 GB, free: 7.277 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/1.837, allocations: 278.5 kB / 1.322 GB, free: 7.277 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.994e-05/1.837, allocations: 24.31 kB / 1.322 GB, free: 7.277 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/1.839, allocations: 176 kB / 1.322 GB, free: 7.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.151e-05/1.839, allocations: 55.14 kB / 1.322 GB, free: 7.246 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001396/1.84, allocations: 0.7692 MB / 1.323 GB, free: 7.16 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009972/1.841, allocations: 0.8179 MB / 1.324 GB, free: 6.711 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001741/1.843, allocations: 1.236 MB / 1.325 GB, free: 6.355 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.552e-06/1.843, allocations: 3.125 kB / 1.325 GB, free: 6.355 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002478/1.846, allocations: 1.391 MB / 1.326 GB, free: 6.207 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/1.846, allocations: 10.78 kB / 1.326 GB, free: 6.207 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/1.846, allocations: 7.375 kB / 1.326 GB, free: 6.207 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.846, allocations: 20.69 kB / 1.326 GB, free: 6.203 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/1.847, allocations: 274.5 kB / 1.326 GB, free: 6.199 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-05/1.847, allocations: 27.59 kB / 1.326 GB, free: 6.195 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/1.849, allocations: 173.4 kB / 1.327 GB, free: 6.176 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/1.849, allocations: 51.52 kB / 1.327 GB, free: 6.176 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0004132/1.849, allocations: 261.3 kB / 1.327 GB, free: 5.988 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/1.85, allocations: 169.1 kB / 1.327 GB, free: 5.902 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/1.852, allocations: 1.165 MB / 1.328 GB, free: 5.805 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.852, allocations: 11.22 kB / 1.328 GB, free: 5.805 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.852, allocations: 0 / 1.328 GB, free: 5.805 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001625/1.854, allocations: 1.075 MB / 1.329 GB, free: 5.531 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/1.859, allocations: 2.789 MB / 1.332 GB, free: 5.125 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.859, allocations: 2.312 kB / 1.332 GB, free: 5.125 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/1.86, allocations: 244.8 kB / 1.332 GB, free: 5.125 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/1.86, allocations: 4.875 kB / 1.332 GB, free: 5.125 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-05/1.86, allocations: 28.25 kB / 1.332 GB, free: 5.125 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/1.86, allocations: 8.719 kB / 1.332 GB, free: 5.121 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.86, allocations: 3.219 kB / 1.332 GB, free: 5.121 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/1.863, allocations: 1.767 MB / 1.334 GB, free: 4.801 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008309/1.864, allocations: 335.7 kB / 1.334 GB, free: 4.625 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/1.864, allocations: 24.97 kB / 1.334 GB, free: 4.625 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/1.865, allocations: 151.9 kB / 1.334 GB, free: 4.598 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/1.865, allocations: 63.92 kB / 1.335 GB, free: 4.594 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.818e-05/1.865, allocations: 38.58 kB / 1.335 GB, free: 4.594 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00121/1.867, allocations: 0.8409 MB / 1.335 GB, free: 4.484 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.112e-06/1.867, allocations: 4 kB / 1.335 GB, free: 4.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00254/1.869, allocations: 0.7678 MB / 1.336 GB, free: 4.477 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (102): * Single equations (assignments): 102 * 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 Backend phase and start with SimCode phase: time 0.0006564/1.87, allocations: 267.9 kB / 1.336 GB, free: 4.359 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00308/1.873, allocations: 1.736 MB / 1.338 GB, free: 4.328 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.873, allocations: 8.844 kB / 1.338 GB, free: 4.324 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008412/1.874, allocations: 0.5216 MB / 1.339 GB, free: 4.312 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004612/1.879, allocations: 0.9616 MB / 1.34 GB, free: 4.23 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006599/1.885, allocations: 4.245 MB / 1.344 GB, free: 1.969 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009832/1.886, allocations: 1.445 MB / 1.345 GB, free: 1.211 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/1.887, allocations: 131.9 kB / 1.345 GB, free: 1.203 MB / 1.014 GB Notification: Performance of SimCode: time 9.92e-07/1.887, allocations: 3.719 kB / 1.345 GB, free: 1.203 MB / 1.014 GB Notification: Performance of Templates: time 0.04553/1.932, allocations: 26.81 MB / 1.371 GB, free: 15.73 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,vol.medium.T,vol1.T,vol2.T,res1.m_flow,res2.m_flow,cheEqu1.y,cheEqu2.y Variables in the result:cheEqu1.y,cheEqu2.y,res1.m_flow,res2.m_flow,time,vol.medium.T,vol1.T,vol2.T