Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01077/0.01077, allocations: 102.5 kB / 15.73 MB, free: 5.504 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.002236/0.002236, allocations: 195.2 kB / 16.67 MB, free: 5.434 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.951/2.951, allocations: 469.8 MB / 0.7425 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 64.11 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2993, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.8393/1.139, allocations: 171.3 MB / 1.388 GB, free: 15.77 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006027/1.145, allocations: 3.39 MB / 1.391 GB, free: 13.02 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007999/1.145, allocations: 25.66 kB / 1.391 GB, free: 13.01 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/1.146, allocations: 327.5 kB / 1.391 GB, free: 12.75 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00312/1.15, allocations: 1.058 MB / 1.393 GB, free: 11.93 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002462/1.152, allocations: 0.6696 MB / 1.393 GB, free: 11.43 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003128/1.155, allocations: 1.527 MB / 1.395 GB, free: 10.56 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009617/1.156, allocations: 418.5 kB / 1.395 GB, free: 10.29 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/1.158, allocations: 0.59 MB / 1.396 GB, free: 9.938 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/1.16, allocations: 472.2 kB / 1.396 GB, free: 9.668 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002257/1.16, allocations: 54 kB / 1.396 GB, free: 9.668 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/1.162, allocations: 0.8331 MB / 1.397 GB, free: 9.219 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004268/1.163, allocations: 244.9 kB / 1.397 GB, free: 9.055 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008665/1.164, allocations: 335.5 kB / 1.398 GB, free: 8.848 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002653/1.166, allocations: 1.133 MB / 1.399 GB, free: 8.121 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.166, allocations: 4 kB / 1.399 GB, free: 8.117 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.743e-06/1.166, allocations: 3.938 kB / 1.399 GB, free: 8.113 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.764e-05/1.166, allocations: 0 / 1.399 GB, free: 8.113 MB / 1.092 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.002002/1.168, allocations: 0.9275 MB / 1.4 GB, free: 7.352 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/1.168, allocations: 9.969 kB / 1.4 GB, free: 7.352 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/1.17, allocations: 179.5 kB / 1.4 GB, free: 7.27 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/1.171, allocations: 0.5168 MB / 1.4 GB, free: 6.84 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/1.171, allocations: 38.03 kB / 1.4 GB, free: 6.82 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.324e-05/1.171, allocations: 51.95 kB / 1.4 GB, free: 6.797 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008616/1.172, allocations: 470.4 kB / 1.401 GB, free: 6.531 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/1.172, allocations: 0 / 1.401 GB, free: 6.531 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/1.172, allocations: 17.34 kB / 1.401 GB, free: 6.52 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/1.172, allocations: 23 kB / 1.401 GB, free: 6.512 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007542/1.173, allocations: 412 kB / 1.401 GB, free: 6.316 MB / 1.092 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.002987/1.176, allocations: 1.727 MB / 1.403 GB, free: 4.879 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/1.176, allocations: 278 kB / 1.403 GB, free: 4.73 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/1.177, allocations: 174.1 kB / 1.403 GB, free: 4.641 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/1.177, allocations: 99.09 kB / 1.403 GB, free: 4.539 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/1.177, allocations: 45.88 kB / 1.403 GB, free: 4.488 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/1.177, allocations: 0 / 1.403 GB, free: 4.488 MB / 1.092 GB Notification: Performance of matching and sorting (n=33): time 0.0023/1.179, allocations: 1.078 MB / 1.404 GB, free: 3.773 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/1.179, allocations: 54.16 kB / 1.405 GB, free: 3.711 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005571/1.18, allocations: 460.3 kB / 1.405 GB, free: 3.43 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/1.18, allocations: 36.67 kB / 1.405 GB, free: 3.391 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/1.18, allocations: 255.2 kB / 1.405 GB, free: 3.164 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/1.18, allocations: 117.9 kB / 1.405 GB, free: 3.062 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/1.18, allocations: 69.31 kB / 1.405 GB, free: 3.016 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.18, allocations: 359.2 kB / 1.406 GB, free: 2.668 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/1.181, allocations: 127 kB / 1.406 GB, free: 2.605 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/1.181, allocations: 216.4 kB / 1.406 GB, free: 2.449 MB / 1.092 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/1.183, allocations: 0.8601 MB / 1.407 GB, free: 1.93 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.183, allocations: 0 / 1.407 GB, free: 1.93 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006733/1.184, allocations: 417.6 kB / 1.407 GB, free: 1.711 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.184, allocations: 5.25 kB / 1.407 GB, free: 1.711 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.184, allocations: 1.438 kB / 1.407 GB, free: 1.711 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/1.184, allocations: 3.844 kB / 1.407 GB, free: 1.711 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/1.184, allocations: 68.78 kB / 1.407 GB, free: 1.699 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.184, allocations: 6.625 kB / 1.407 GB, free: 1.695 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004778/1.184, allocations: 14.72 kB / 1.407 GB, free: 1.688 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/1.185, allocations: 14.7 kB / 1.407 GB, free: 1.684 MB / 1.092 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002864/1.185, allocations: 212 kB / 1.408 GB, free: 1.508 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/1.185, allocations: 57.73 kB / 1.408 GB, free: 1.477 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/1.185, allocations: 58.3 kB / 1.408 GB, free: 1.434 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.185, allocations: 6.734 kB / 1.408 GB, free: 1.43 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.185, allocations: 2.375 kB / 1.408 GB, free: 1.43 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005486/1.186, allocations: 407.1 kB / 1.408 GB, free: 1.141 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/1.188, allocations: 1.246 MB / 1.409 GB, free: 184 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/1.188, allocations: 9.031 kB / 1.409 GB, free: 180 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/1.188, allocations: 80.3 kB / 1.409 GB, free: 156 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/1.188, allocations: 9.781 kB / 1.409 GB, free: 152 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/1.188, allocations: 11.47 kB / 1.409 GB, free: 148 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/1.188, allocations: 6.906 kB / 1.409 GB, free: 148 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.188, allocations: 4.688 kB / 1.41 GB, free: 148 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009531/1.189, allocations: 0.715 MB / 1.41 GB, free: 15.61 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/1.189, allocations: 168.5 kB / 1.41 GB, free: 15.46 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/1.189, allocations: 11.97 kB / 1.41 GB, free: 15.45 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/1.19, allocations: 15.64 kB / 1.41 GB, free: 15.45 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/1.19, allocations: 40.38 kB / 1.41 GB, free: 15.42 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/1.19, allocations: 20.91 kB / 1.41 GB, free: 15.42 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0003439/1.19, allocations: 329.9 kB / 1.411 GB, free: 15.22 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/1.19, allocations: 0 / 1.411 GB, free: 15.22 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006611/1.191, allocations: 145.1 kB / 1.411 GB, free: 15.21 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (33): * Single equations (assignments): 33 * 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.0003906/1.191, allocations: 171.4 kB / 1.411 GB, free: 15.09 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005954/1.192, allocations: 317.9 kB / 1.411 GB, free: 14.94 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.192, allocations: 2.5 kB / 1.411 GB, free: 14.94 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/1.192, allocations: 153.8 kB / 1.412 GB, free: 14.87 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/1.194, allocations: 368.4 kB / 1.412 GB, free: 14.69 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/1.196, allocations: 1.129 MB / 1.413 GB, free: 13.88 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/1.196, allocations: 0.8901 MB / 1.414 GB, free: 13.08 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004621/1.197, allocations: 134.7 kB / 1.414 GB, free: 13.02 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/1.197, allocations: 43 kB / 1.414 GB, free: 13.01 MB / 1.107 GB Notification: Performance of SimCode: time 8.11e-07/1.197, allocations: 0 / 1.414 GB, free: 13.01 MB / 1.107 GB Notification: Performance of Templates: time 0.01967/1.217, allocations: 11.17 MB / 1.425 GB, free: 3.625 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches