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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001553/0.001553, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001682/0.001682, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.745/2.745, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.91 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8674/0.8689, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.2527/1.122, allocations: 242.4 MB / 1.445 GB, free: 10.28 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02324/1.145, allocations: 15.9 MB / 1.461 GB, free: 10.32 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00286/1.148, allocations: 75.56 kB / 1.461 GB, free: 10.25 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003667/1.152, allocations: 1.173 MB / 1.462 GB, free: 9.07 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01091/1.163, allocations: 3.83 MB / 1.466 GB, free: 5.227 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005358/1.168, allocations: 1.814 MB / 1.467 GB, free: 3.418 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.008131/1.176, allocations: 5.251 MB / 1.473 GB, free: 14.15 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003245/1.179, allocations: 1.676 MB / 1.474 GB, free: 12.44 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006618/1.186, allocations: 2.647 MB / 1.477 GB, free: 9.785 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004173/1.19, allocations: 1.704 MB / 1.478 GB, free: 8.082 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0008611/1.191, allocations: 176 kB / 1.479 GB, free: 7.91 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00607/1.197, allocations: 2.705 MB / 1.481 GB, free: 5.199 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001337/1.199, allocations: 0.7713 MB / 1.482 GB, free: 4.426 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002573/1.201, allocations: 1.151 MB / 1.483 GB, free: 3.27 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.007849/1.209, allocations: 3.556 MB / 1.487 GB, free: 15.7 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.209, allocations: 0 / 1.487 GB, free: 15.7 MB / 1.217 GB Notification: Performance of FrontEnd: time 4.508e-06/1.209, allocations: 0 / 1.487 GB, free: 15.7 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001252/1.209, allocations: 3.938 kB / 1.487 GB, free: 15.7 MB / 1.217 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.006093/1.215, allocations: 2.499 MB / 1.489 GB, free: 13.14 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/1.215, allocations: 8.031 kB / 1.489 GB, free: 13.14 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003453/1.219, allocations: 0.5048 MB / 1.49 GB, free: 12.63 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003044/1.222, allocations: 1.351 MB / 1.491 GB, free: 11.22 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/1.222, allocations: 186.2 kB / 1.491 GB, free: 11.03 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/1.223, allocations: 148 kB / 1.491 GB, free: 10.88 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003746/1.226, allocations: 1.749 MB / 1.493 GB, free: 9.059 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/1.226, allocations: 8 kB / 1.493 GB, free: 9.051 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/1.227, allocations: 60 kB / 1.493 GB, free: 8.992 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.362e-05/1.227, allocations: 62.69 kB / 1.493 GB, free: 8.93 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00283/1.229, allocations: 1.373 MB / 1.494 GB, free: 7.551 MB / 1.217 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.01111/1.241, allocations: 8.214 MB / 1.502 GB, free: 14.64 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/1.242, allocations: 0.898 MB / 1.503 GB, free: 13.73 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009289/1.243, allocations: 0.5307 MB / 1.504 GB, free: 13.2 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006448/1.244, allocations: 324.4 kB / 1.504 GB, free: 12.83 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/1.244, allocations: 51.5 kB / 1.504 GB, free: 12.77 MB / 1.232 GB Notification: Performance of pre-optimization done (n=96): time 2.895e-06/1.244, allocations: 0 / 1.504 GB, free: 12.77 MB / 1.232 GB Notification: Performance of matching and sorting (n=102): time 0.007555/1.252, allocations: 3.112 MB / 1.507 GB, free: 9.605 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/1.252, allocations: 60.41 kB / 1.507 GB, free: 9.535 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/1.254, allocations: 1.266 MB / 1.508 GB, free: 8.262 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/1.254, allocations: 49.7 kB / 1.509 GB, free: 8.207 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006489/1.254, allocations: 0.8094 MB / 1.509 GB, free: 7.387 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/1.255, allocations: 366.6 kB / 1.51 GB, free: 7.023 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003549/1.255, allocations: 230.8 kB / 1.51 GB, free: 6.793 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.255, allocations: 353.9 kB / 1.51 GB, free: 6.441 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008858/1.256, allocations: 453.8 kB / 1.511 GB, free: 5.996 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/1.257, allocations: 0.8221 MB / 1.511 GB, free: 5.004 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/1.259, allocations: 1.252 MB / 1.513 GB, free: 3.629 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/1.259, allocations: 4 kB / 1.513 GB, free: 3.625 MB / 1.232 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002793/1.262, allocations: 1.405 MB / 1.514 GB, free: 2.211 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/1.262, allocations: 8 kB / 1.514 GB, free: 2.203 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/1.262, allocations: 8 kB / 1.514 GB, free: 2.195 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/1.262, allocations: 16 kB / 1.514 GB, free: 2.18 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.263, allocations: 279.5 kB / 1.514 GB, free: 1.906 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.254e-05/1.264, allocations: 24.39 kB / 1.514 GB, free: 1.883 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/1.265, allocations: 74.48 kB / 1.514 GB, free: 1.812 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/1.265, allocations: 51.98 kB / 1.514 GB, free: 1.762 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001488/1.267, allocations: 0.7679 MB / 1.515 GB, free: 0.9922 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001132/1.268, allocations: 0.8182 MB / 1.516 GB, free: 8 kB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001979/1.27, allocations: 1.24 MB / 1.517 GB, free: 14.64 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.213e-06/1.27, allocations: 4 kB / 1.517 GB, free: 14.64 MB / 1.248 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002619/1.272, allocations: 1.398 MB / 1.519 GB, free: 13.23 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.272, allocations: 14.44 kB / 1.519 GB, free: 13.22 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.273, allocations: 8 kB / 1.519 GB, free: 13.21 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/1.273, allocations: 16 kB / 1.519 GB, free: 13.2 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.274, allocations: 267.6 kB / 1.519 GB, free: 12.93 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-05/1.274, allocations: 27.91 kB / 1.519 GB, free: 12.91 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.275, allocations: 71.94 kB / 1.519 GB, free: 12.84 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.131e-05/1.275, allocations: 55.94 kB / 1.519 GB, free: 12.78 MB / 1.248 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.0003359/1.276, allocations: 267.8 kB / 1.519 GB, free: 12.51 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/1.276, allocations: 162 kB / 1.519 GB, free: 12.35 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/1.278, allocations: 1.151 MB / 1.521 GB, free: 11.19 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.278, allocations: 8 kB / 1.521 GB, free: 11.18 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.278, allocations: 4 kB / 1.521 GB, free: 11.18 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00178/1.28, allocations: 1.079 MB / 1.522 GB, free: 10.05 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005188/1.285, allocations: 2.792 MB / 1.524 GB, free: 7.176 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.286, allocations: 4 kB / 1.524 GB, free: 7.172 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/1.287, allocations: 244 kB / 1.525 GB, free: 6.934 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.83e-05/1.287, allocations: 7.938 kB / 1.525 GB, free: 6.926 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.322e-05/1.287, allocations: 31.98 kB / 1.525 GB, free: 6.895 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/1.287, allocations: 4 kB / 1.525 GB, free: 6.891 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.287, allocations: 7.938 kB / 1.525 GB, free: 6.883 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003203/1.29, allocations: 1.771 MB / 1.526 GB, free: 5.07 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008089/1.291, allocations: 335 kB / 1.527 GB, free: 4.723 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003515/1.291, allocations: 31.98 kB / 1.527 GB, free: 4.691 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/1.293, allocations: 57.17 kB / 1.527 GB, free: 4.637 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/1.293, allocations: 72.91 kB / 1.527 GB, free: 4.566 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.784e-05/1.293, allocations: 35.98 kB / 1.527 GB, free: 4.531 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001417/1.294, allocations: 0.8426 MB / 1.528 GB, free: 3.691 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.8e-07/1.294, allocations: 0 / 1.528 GB, free: 3.691 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002537/1.297, allocations: 0.7578 MB / 1.528 GB, free: 2.934 MB / 1.248 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.0006916/1.298, allocations: 276.2 kB / 1.529 GB, free: 2.66 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003433/1.301, allocations: 1.736 MB / 1.53 GB, free: 0.9297 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.301, allocations: 8.125 kB / 1.53 GB, free: 0.9219 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0009635/1.302, allocations: 0.5092 MB / 1.531 GB, free: 424 kB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004726/1.307, allocations: 0.9206 MB / 1.532 GB, free: 15.51 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00661/1.313, allocations: 3.525 MB / 1.535 GB, free: 11.93 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/1.315, allocations: 1.445 MB / 1.537 GB, free: 10.45 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005943/1.315, allocations: 135.4 kB / 1.537 GB, free: 10.32 MB / 1.264 GB Notification: Performance of SimCode: time 7.92e-07/1.315, allocations: 0 / 1.537 GB, free: 10.32 MB / 1.264 GB Notification: Performance of Templates: time 0.6872/2.003, allocations: 26.67 MB / 1.563 GB, free: 348.1 MB / 1.279 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