Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00951/0.00951, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.002025/0.002026, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.728/1.728, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.571/2.571, allocations: 472.7 MB / 0.7453 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.89 kB / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8376/0.8389, allocations: 159.9 MB / 1.226 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2009/1.04, allocations: 187.9 MB / 1.409 GB, free: 1.113 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01489/1.055, allocations: 10.76 MB / 1.42 GB, free: 6.328 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/1.056, allocations: 39.75 kB / 1.42 GB, free: 6.289 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/1.057, allocations: 0.4931 MB / 1.42 GB, free: 5.793 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006287/1.064, allocations: 2.575 MB / 1.423 GB, free: 3.207 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005583/1.069, allocations: 2.46 MB / 1.425 GB, free: 0.75 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003533/1.073, allocations: 2.77 MB / 1.428 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/1.074, allocations: 0.78 MB / 1.429 GB, free: 13.18 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/1.075, allocations: 1.004 MB / 1.429 GB, free: 12.18 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/1.077, allocations: 1.053 MB / 1.431 GB, free: 11.12 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.00018/1.078, allocations: 96 kB / 1.431 GB, free: 11.03 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00535/1.083, allocations: 3.009 MB / 1.434 GB, free: 8.012 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005069/1.084, allocations: 438.8 kB / 1.434 GB, free: 7.582 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006508/1.084, allocations: 0.5794 MB / 1.435 GB, free: 7 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004743/1.089, allocations: 2.963 MB / 1.437 GB, free: 4.027 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.089, allocations: 0 / 1.437 GB, free: 4.027 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.462e-06/1.089, allocations: 0 / 1.437 GB, free: 4.027 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.746e-05/1.089, allocations: 0 / 1.437 GB, free: 4.027 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003238/1.092, allocations: 1.722 MB / 1.439 GB, free: 2.25 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/1.092, allocations: 8.031 kB / 1.439 GB, free: 2.242 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/1.094, allocations: 306.9 kB / 1.439 GB, free: 1.941 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/1.095, allocations: 0.8436 MB / 1.44 GB, free: 1.055 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/1.095, allocations: 53.3 kB / 1.44 GB, free: 1 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/1.096, allocations: 59.98 kB / 1.44 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/1.097, allocations: 0.9922 MB / 1.441 GB, free: 15.93 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/1.097, allocations: 0 / 1.441 GB, free: 15.93 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.789e-05/1.097, allocations: 27.98 kB / 1.441 GB, free: 15.9 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.861e-05/1.097, allocations: 77.84 kB / 1.441 GB, free: 15.83 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/1.099, allocations: 1.011 MB / 1.442 GB, free: 14.82 MB / 1.17 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.005469/1.104, allocations: 3.583 MB / 1.446 GB, free: 11 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/1.105, allocations: 0.6572 MB / 1.447 GB, free: 10.34 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005396/1.106, allocations: 378.2 kB / 1.447 GB, free: 9.965 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/1.106, allocations: 202.7 kB / 1.447 GB, free: 9.73 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/1.106, allocations: 43.12 kB / 1.447 GB, free: 9.68 MB / 1.17 GB Notification: Performance of pre-optimization done (n=62): time 2.464e-06/1.106, allocations: 0 / 1.447 GB, free: 9.68 MB / 1.17 GB Notification: Performance of matching and sorting (n=62): time 0.00194/1.108, allocations: 1.022 MB / 1.448 GB, free: 8.652 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/1.108, allocations: 111.4 kB / 1.448 GB, free: 8.516 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009603/1.109, allocations: 0.8097 MB / 1.449 GB, free: 7.695 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/1.109, allocations: 33.7 kB / 1.449 GB, free: 7.656 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/1.11, allocations: 432.7 kB / 1.449 GB, free: 7.23 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/1.11, allocations: 241.9 kB / 1.45 GB, free: 6.992 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/1.11, allocations: 142.6 kB / 1.45 GB, free: 6.848 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.11, allocations: 334 kB / 1.45 GB, free: 6.516 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/1.111, allocations: 348.7 kB / 1.45 GB, free: 6.172 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006342/1.111, allocations: 456.7 kB / 1.451 GB, free: 5.691 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/1.113, allocations: 0.7704 MB / 1.452 GB, free: 4.891 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/1.113, allocations: 4.062 kB / 1.452 GB, free: 4.887 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001485/1.114, allocations: 0.9377 MB / 1.453 GB, free: 3.941 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.114, allocations: 4 kB / 1.453 GB, free: 3.938 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.114, allocations: 4 kB / 1.453 GB, free: 3.934 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/1.114, allocations: 4 kB / 1.453 GB, free: 3.93 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/1.115, allocations: 160 kB / 1.453 GB, free: 3.773 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/1.115, allocations: 8 kB / 1.453 GB, free: 3.766 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007415/1.116, allocations: 83.39 kB / 1.453 GB, free: 3.684 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.698e-05/1.116, allocations: 27.98 kB / 1.453 GB, free: 3.656 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007823/1.116, allocations: 0.537 MB / 1.453 GB, free: 3.113 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005976/1.117, allocations: 450.5 kB / 1.454 GB, free: 2.633 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001041/1.118, allocations: 0.7408 MB / 1.455 GB, free: 1.855 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/1.118, allocations: 0 / 1.455 GB, free: 1.855 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001414/1.12, allocations: 0.8948 MB / 1.455 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/1.12, allocations: 9.875 kB / 1.455 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.12, allocations: 0 / 1.455 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/1.12, allocations: 8 kB / 1.455 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006378/1.12, allocations: 147.8 kB / 1.456 GB, free: 0.793 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.12, allocations: 7.938 kB / 1.456 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007251/1.121, allocations: 63.64 kB / 1.456 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.175e-05/1.121, allocations: 24 kB / 1.456 GB, free: 0.6992 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0002071/1.121, allocations: 230 kB / 1.456 GB, free: 480 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/1.121, allocations: 95.39 kB / 1.456 GB, free: 384 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/1.123, allocations: 0.8115 MB / 1.457 GB, free: 15.56 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/1.123, allocations: 8 kB / 1.457 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.123, allocations: 0 / 1.457 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/1.124, allocations: 0.7399 MB / 1.458 GB, free: 14.78 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/1.127, allocations: 2.105 MB / 1.46 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.127, allocations: 7.938 kB / 1.46 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/1.128, allocations: 127.8 kB / 1.46 GB, free: 12.44 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/1.128, allocations: 8 kB / 1.46 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-05/1.128, allocations: 16 kB / 1.46 GB, free: 12.42 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/1.128, allocations: 8 kB / 1.46 GB, free: 12.41 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.128, allocations: 7.938 kB / 1.46 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/1.13, allocations: 1.361 MB / 1.461 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/1.13, allocations: 260.3 kB / 1.461 GB, free: 10.71 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/1.13, allocations: 24 kB / 1.461 GB, free: 10.68 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006064/1.131, allocations: 34.42 kB / 1.461 GB, free: 10.65 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.87e-05/1.131, allocations: 44.27 kB / 1.461 GB, free: 10.61 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/1.131, allocations: 23.98 kB / 1.461 GB, free: 10.59 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008018/1.132, allocations: 0.5576 MB / 1.462 GB, free: 10.04 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.463e-06/1.132, allocations: 0 / 1.462 GB, free: 10.04 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001772/1.134, allocations: 0.7597 MB / 1.463 GB, free: 9.27 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.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 (64): * Single equations (assignments): 64 * 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.001529/1.135, allocations: 0.5453 MB / 1.463 GB, free: 8.723 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001985/1.137, allocations: 1.19 MB / 1.464 GB, free: 7.535 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.137, allocations: 0 / 1.464 GB, free: 7.535 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005439/1.138, allocations: 371.7 kB / 1.465 GB, free: 7.172 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/1.14, allocations: 0.5352 MB / 1.465 GB, free: 6.641 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/1.143, allocations: 1.93 MB / 1.467 GB, free: 4.637 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007651/1.144, allocations: 1.077 MB / 1.468 GB, free: 3.523 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001189/1.145, allocations: 419.2 kB / 1.469 GB, free: 3.113 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/1.146, allocations: 75.42 kB / 1.469 GB, free: 3.043 MB / 1.186 GB Notification: Performance of SimCode: time 9.62e-07/1.146, allocations: 4 kB / 1.469 GB, free: 3.039 MB / 1.186 GB Notification: Performance of Templates: time 0.03501/1.181, allocations: 22.98 MB / 1.491 GB, free: 12.27 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches