Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.007098/0.007099, allocations: 101.3 kB / 15.88 MB, free: 5.867 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.001574/0.001574, allocations: 193.8 kB / 16.79 MB, free: 5.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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.674/2.674, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.34 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3388, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.9939/1.333, allocations: 240.5 MB / 1.288 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02565/1.358, allocations: 16.09 MB / 1.303 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004183/1.363, allocations: 79.66 kB / 1.303 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003936/1.367, allocations: 1.026 MB / 1.304 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01117/1.378, allocations: 3.59 MB / 1.308 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005713/1.384, allocations: 1.625 MB / 1.309 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01047/1.394, allocations: 7.419 MB / 1.317 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003161/1.397, allocations: 1.413 MB / 1.318 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007191/1.405, allocations: 2.349 MB / 1.32 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005319/1.41, allocations: 1.772 MB / 1.322 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001017/1.411, allocations: 100.4 kB / 1.322 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008024/1.419, allocations: 3.15 MB / 1.325 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001755/1.421, allocations: 0.6982 MB / 1.326 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003402/1.424, allocations: 1.071 MB / 1.327 GB, free: 372 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005171/1.429, allocations: 2.614 MB / 1.33 GB, free: 152 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.429, allocations: 0 / 1.33 GB, free: 152 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/1.429, allocations: 0 / 1.33 GB, free: 152 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001307/1.43, allocations: 0 / 1.33 GB, free: 152 kB / 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.006917/1.436, allocations: 2.493 MB / 1.332 GB, free: 14.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.437, allocations: 15.48 kB / 1.332 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00368/1.44, allocations: 0.5021 MB / 1.333 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00347/1.444, allocations: 1.283 MB / 1.334 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002315/1.444, allocations: 176.1 kB / 1.334 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004559/1.444, allocations: 151.3 kB / 1.334 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003955/1.448, allocations: 1.733 MB / 1.336 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.364e-05/1.448, allocations: 9.406 kB / 1.336 GB, free: 14.08 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/1.449, allocations: 61.22 kB / 1.336 GB, free: 14.08 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.947e-05/1.449, allocations: 66.95 kB / 1.336 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002966/1.452, allocations: 1.375 MB / 1.337 GB, free: 14.05 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.01248/1.464, allocations: 8.179 MB / 1.345 GB, free: 9.188 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/1.466, allocations: 0.9032 MB / 1.346 GB, free: 9.137 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008961/1.467, allocations: 0.5352 MB / 1.347 GB, free: 9.129 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/1.468, allocations: 323.1 kB / 1.347 GB, free: 8.844 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/1.468, allocations: 52.81 kB / 1.347 GB, free: 8.801 MB / 1.014 GB Notification: Performance of pre-optimization done (n=96): time 3.356e-06/1.468, allocations: 0 / 1.347 GB, free: 8.801 MB / 1.014 GB Notification: Performance of matching and sorting (n=102): time 0.008216/1.476, allocations: 3.117 MB / 1.35 GB, free: 8.121 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/1.476, allocations: 62.88 kB / 1.35 GB, free: 8.059 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/1.478, allocations: 1.262 MB / 1.351 GB, free: 7.891 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001827/1.478, allocations: 52.52 kB / 1.351 GB, free: 7.859 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006359/1.479, allocations: 0.808 MB / 1.352 GB, free: 7.543 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004105/1.479, allocations: 371.5 kB / 1.353 GB, free: 7.309 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004141/1.48, allocations: 225 kB / 1.353 GB, free: 7.281 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.48, allocations: 350.3 kB / 1.353 GB, free: 6.977 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008473/1.481, allocations: 450.4 kB / 1.353 GB, free: 6.965 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/1.482, allocations: 0.8224 MB / 1.354 GB, free: 6.516 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/1.484, allocations: 1.258 MB / 1.356 GB, free: 6.152 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/1.484, allocations: 6.531 kB / 1.356 GB, free: 6.148 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002685/1.487, allocations: 1.396 MB / 1.357 GB, free: 6.016 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.487, allocations: 10.88 kB / 1.357 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/1.487, allocations: 12.88 kB / 1.357 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/1.487, allocations: 15.47 kB / 1.357 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/1.488, allocations: 279.5 kB / 1.357 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.022e-05/1.488, allocations: 25.89 kB / 1.357 GB, free: 6.004 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/1.49, allocations: 175.7 kB / 1.357 GB, free: 5.977 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/1.49, allocations: 55.03 kB / 1.357 GB, free: 5.973 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001475/1.491, allocations: 0.7713 MB / 1.358 GB, free: 5.891 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001119/1.493, allocations: 0.8176 MB / 1.359 GB, free: 5.441 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001863/1.494, allocations: 1.24 MB / 1.36 GB, free: 5.047 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.908e-06/1.494, allocations: 0 / 1.36 GB, free: 5.047 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002642/1.497, allocations: 1.394 MB / 1.362 GB, free: 4.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.497, allocations: 9.656 kB / 1.362 GB, free: 4.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.497, allocations: 10.69 kB / 1.362 GB, free: 4.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.497, allocations: 17.47 kB / 1.362 GB, free: 4.766 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/1.498, allocations: 278.3 kB / 1.362 GB, free: 4.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-05/1.498, allocations: 15.94 kB / 1.362 GB, free: 4.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/1.5, allocations: 177.4 kB / 1.362 GB, free: 4.668 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/1.5, allocations: 55.14 kB / 1.362 GB, free: 4.664 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.0004747/1.501, allocations: 268.3 kB / 1.362 GB, free: 4.469 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005159/1.501, allocations: 163.3 kB / 1.363 GB, free: 4.387 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/1.504, allocations: 1.154 MB / 1.364 GB, free: 4.023 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/1.504, allocations: 10.22 kB / 1.364 GB, free: 4.023 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.504, allocations: 11.19 kB / 1.364 GB, free: 4.016 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001706/1.506, allocations: 1.076 MB / 1.365 GB, free: 3.348 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005741/1.511, allocations: 2.784 MB / 1.367 GB, free: 1.582 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.511, allocations: 6.656 kB / 1.367 GB, free: 1.578 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/1.513, allocations: 242.7 kB / 1.368 GB, free: 1.535 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.067e-05/1.513, allocations: 6.125 kB / 1.368 GB, free: 1.535 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.605e-05/1.513, allocations: 29.83 kB / 1.368 GB, free: 1.516 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.225e-05/1.513, allocations: 5.281 kB / 1.368 GB, free: 1.516 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.513, allocations: 5.125 kB / 1.368 GB, free: 1.516 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003318/1.516, allocations: 1.769 MB / 1.369 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.517, allocations: 340 kB / 1.37 GB, free: 252 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005074/1.518, allocations: 23.88 kB / 1.37 GB, free: 236 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/1.52, allocations: 141.9 kB / 1.37 GB, free: 164 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/1.52, allocations: 73.27 kB / 1.37 GB, free: 124 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.52, allocations: 35.55 kB / 1.37 GB, free: 112 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00181/1.522, allocations: 0.844 MB / 1.371 GB, free: 15.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.6e-07/1.522, allocations: 0 / 1.371 GB, free: 15.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004141/1.526, allocations: 0.7664 MB / 1.372 GB, free: 15.59 MB / 1.029 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.001099/1.527, allocations: 278.5 kB / 1.372 GB, free: 15.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00468/1.532, allocations: 1.73 MB / 1.374 GB, free: 14.72 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.532, allocations: 0 / 1.374 GB, free: 14.72 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/1.533, allocations: 0.5182 MB / 1.374 GB, free: 14.51 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006605/1.539, allocations: 0.9639 MB / 1.375 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.549, allocations: 4.249 MB / 1.379 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00239/1.552, allocations: 1.441 MB / 1.381 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00099/1.553, allocations: 145.7 kB / 1.381 GB, free: 10.07 MB / 1.029 GB Notification: Performance of SimCode: time 1.803e-06/1.553, allocations: 0 / 1.381 GB, free: 10.07 MB / 1.029 GB Notification: Performance of Templates: time 0.04939/1.602, allocations: 26.79 MB / 1.407 GB, free: 15.96 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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