Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.001342/0.001342, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001298/0.001298, allocations: 198.2 kB / 16.91 MB, free: 6.195 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.41/1.41, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.684/2.684, allocations: 469.8 MB / 0.7427 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 74.44 kB / 0.9087 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3253, allocations: 159.1 MB / 1.064 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7976/1.123, allocations: 239.8 MB / 1.298 GB, free: 9.211 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02395/1.147, allocations: 15.86 MB / 1.314 GB, free: 9.328 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003096/1.15, allocations: 75.5 kB / 1.314 GB, free: 9.254 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003498/1.154, allocations: 1.046 MB / 1.315 GB, free: 8.203 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01022/1.164, allocations: 3.59 MB / 1.318 GB, free: 4.602 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004946/1.169, allocations: 1.653 MB / 1.32 GB, free: 2.957 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007808/1.177, allocations: 5.258 MB / 1.325 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002888/1.18, allocations: 1.629 MB / 1.327 GB, free: 12.02 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006629/1.186, allocations: 2.6 MB / 1.329 GB, free: 9.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004709/1.191, allocations: 1.824 MB / 1.331 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0006529/1.192, allocations: 176 kB / 1.331 GB, free: 7.418 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006467/1.198, allocations: 2.825 MB / 1.334 GB, free: 4.586 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00127/1.199, allocations: 0.7713 MB / 1.335 GB, free: 3.812 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002103/1.202, allocations: 1.151 MB / 1.336 GB, free: 2.656 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00442/1.206, allocations: 2.643 MB / 1.338 GB, free: 8 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.206, allocations: 4 kB / 1.338 GB, free: 4 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.843e-06/1.206, allocations: 0 / 1.338 GB, free: 4 kB / 1.045 GB Notification: Performance of Transformations before backend: time 4.606e-05/1.206, allocations: 0 / 1.338 GB, free: 4 kB / 1.045 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.004799/1.211, allocations: 2.503 MB / 1.341 GB, free: 13.45 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.211, allocations: 12.03 kB / 1.341 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/1.214, allocations: 0.5048 MB / 1.341 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/1.216, allocations: 1.269 MB / 1.343 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001865/1.217, allocations: 182.2 kB / 1.343 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/1.217, allocations: 152 kB / 1.343 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/1.22, allocations: 1.73 MB / 1.345 GB, free: 9.457 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.371e-05/1.22, allocations: 15.83 kB / 1.345 GB, free: 9.441 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/1.22, allocations: 60 kB / 1.345 GB, free: 9.383 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.233e-05/1.22, allocations: 58.7 kB / 1.345 GB, free: 9.324 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/1.223, allocations: 1.377 MB / 1.346 GB, free: 7.941 MB / 1.061 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.01077/1.234, allocations: 8.187 MB / 1.354 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/1.236, allocations: 0.9048 MB / 1.355 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000949/1.236, allocations: 0.5341 MB / 1.355 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006614/1.237, allocations: 320.4 kB / 1.356 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/1.237, allocations: 47.56 kB / 1.356 GB, free: 13.19 MB / 1.076 GB Notification: Performance of pre-optimization done (n=96): time 3.226e-06/1.237, allocations: 0 / 1.356 GB, free: 13.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=102): time 0.00771/1.245, allocations: 3.119 MB / 1.359 GB, free: 10.02 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/1.245, allocations: 60.41 kB / 1.359 GB, free: 9.949 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/1.247, allocations: 1.27 MB / 1.36 GB, free: 8.672 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/1.247, allocations: 49.7 kB / 1.36 GB, free: 8.617 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007168/1.248, allocations: 0.8133 MB / 1.361 GB, free: 7.793 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003871/1.248, allocations: 362.8 kB / 1.361 GB, free: 7.434 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003775/1.249, allocations: 230.7 kB / 1.362 GB, free: 7.203 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001844/1.249, allocations: 353.9 kB / 1.362 GB, free: 6.852 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000902/1.25, allocations: 449.7 kB / 1.362 GB, free: 6.41 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/1.251, allocations: 0.826 MB / 1.363 GB, free: 5.414 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/1.253, allocations: 1.252 MB / 1.364 GB, free: 4.039 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/1.253, allocations: 9.438 kB / 1.364 GB, free: 4.031 MB / 1.076 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002627/1.256, allocations: 1.398 MB / 1.366 GB, free: 2.625 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.256, allocations: 12.19 kB / 1.366 GB, free: 2.613 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.256, allocations: 12 kB / 1.366 GB, free: 2.602 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/1.256, allocations: 16 kB / 1.366 GB, free: 2.586 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.257, allocations: 275.6 kB / 1.366 GB, free: 2.316 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.97e-05/1.257, allocations: 23.92 kB / 1.366 GB, free: 2.293 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.259, allocations: 167.6 kB / 1.366 GB, free: 2.129 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.67e-05/1.259, allocations: 51.98 kB / 1.366 GB, free: 2.078 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001407/1.26, allocations: 0.7757 MB / 1.367 GB, free: 1.301 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001177/1.261, allocations: 0.8182 MB / 1.368 GB, free: 324 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001993/1.263, allocations: 1.241 MB / 1.369 GB, free: 14.94 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.953e-06/1.263, allocations: 4 kB / 1.369 GB, free: 14.94 MB / 1.092 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002603/1.266, allocations: 1.394 MB / 1.37 GB, free: 13.54 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/1.266, allocations: 8 kB / 1.37 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/1.266, allocations: 8 kB / 1.37 GB, free: 13.52 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.266, allocations: 16 kB / 1.37 GB, free: 13.51 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/1.267, allocations: 279.6 kB / 1.371 GB, free: 13.23 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/1.267, allocations: 23.92 kB / 1.371 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/1.269, allocations: 167.8 kB / 1.371 GB, free: 13.05 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/1.269, allocations: 48 kB / 1.371 GB, free: 13 MB / 1.092 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.0003924/1.269, allocations: 283.7 kB / 1.371 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/1.27, allocations: 165.9 kB / 1.371 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/1.272, allocations: 1.143 MB / 1.372 GB, free: 11.39 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/1.272, allocations: 12 kB / 1.372 GB, free: 11.38 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.272, allocations: 4 kB / 1.373 GB, free: 11.38 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001836/1.274, allocations: 1.083 MB / 1.374 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00515/1.279, allocations: 2.785 MB / 1.376 GB, free: 7.383 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.279, allocations: 4.219 kB / 1.376 GB, free: 7.379 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/1.28, allocations: 247.7 kB / 1.377 GB, free: 7.137 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-05/1.28, allocations: 7.938 kB / 1.377 GB, free: 7.129 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.49e-05/1.28, allocations: 24 kB / 1.377 GB, free: 7.105 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/1.28, allocations: 7.984 kB / 1.377 GB, free: 7.098 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.28, allocations: 4 kB / 1.377 GB, free: 7.094 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/1.283, allocations: 1.762 MB / 1.378 GB, free: 5.293 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000742/1.284, allocations: 346.9 kB / 1.379 GB, free: 4.934 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/1.284, allocations: 23.94 kB / 1.379 GB, free: 4.91 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/1.286, allocations: 143.7 kB / 1.379 GB, free: 4.77 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/1.286, allocations: 64.95 kB / 1.379 GB, free: 4.707 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/1.286, allocations: 35.98 kB / 1.379 GB, free: 4.672 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001247/1.287, allocations: 0.8426 MB / 1.38 GB, free: 3.832 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.287, allocations: 0 / 1.38 GB, free: 3.832 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002202/1.289, allocations: 0.7695 MB / 1.38 GB, free: 3.062 MB / 1.092 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.0007066/1.29, allocations: 285 kB / 1.381 GB, free: 2.785 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004235/1.294, allocations: 2.005 MB / 1.383 GB, free: 0.7812 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.294, allocations: 0 / 1.383 GB, free: 0.7812 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009239/1.295, allocations: 0.5105 MB / 1.383 GB, free: 280 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004009/1.299, allocations: 0.927 MB / 1.384 GB, free: 15.36 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006668/1.306, allocations: 4.248 MB / 1.388 GB, free: 11.05 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/1.307, allocations: 1.437 MB / 1.39 GB, free: 9.586 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005747/1.308, allocations: 139.4 kB / 1.39 GB, free: 9.449 MB / 1.107 GB Notification: Performance of SimCode: time 1.112e-06/1.308, allocations: 0 / 1.39 GB, free: 9.449 MB / 1.107 GB Notification: Performance of Templates: time 0.04464/1.352, allocations: 26.49 MB / 1.416 GB, free: 15.17 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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