Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001488/0.001488, allocations: 108.1 kB / 16.41 MB, free: 6.441 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.00169/0.00169, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.363/1.363, 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 10.1.1-maint.10.0.x/package.mo): time 2.468/2.468, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 67.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9715/0.973, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.2781/1.251, allocations: 242.4 MB / 1.404 GB, free: 0.5156 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02591/1.277, allocations: 15.9 MB / 1.42 GB, free: 0.5742 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003114/1.28, allocations: 75.56 kB / 1.42 GB, free: 0.5 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003795/1.284, allocations: 1.223 MB / 1.421 GB, free: 15.27 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01133/1.296, allocations: 3.959 MB / 1.425 GB, free: 11.3 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005685/1.301, allocations: 1.828 MB / 1.426 GB, free: 9.477 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.008295/1.31, allocations: 5.265 MB / 1.432 GB, free: 4.195 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003353/1.313, allocations: 1.668 MB / 1.433 GB, free: 2.496 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00702/1.32, allocations: 2.693 MB / 1.436 GB, free: 15.79 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004295/1.324, allocations: 1.712 MB / 1.438 GB, free: 14.08 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0008267/1.325, allocations: 176 kB / 1.438 GB, free: 13.91 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006548/1.332, allocations: 2.716 MB / 1.44 GB, free: 11.19 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001517/1.333, allocations: 0.7712 MB / 1.441 GB, free: 10.41 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.003044/1.336, allocations: 1.151 MB / 1.442 GB, free: 9.258 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00812/1.344, allocations: 3.556 MB / 1.446 GB, free: 5.691 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/1.344, allocations: 4 kB / 1.446 GB, free: 5.688 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.784e-06/1.344, allocations: 0 / 1.446 GB, free: 5.688 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001333/1.345, allocations: 0 / 1.446 GB, free: 5.688 MB / 1.17 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.006559/1.351, allocations: 2.502 MB / 1.448 GB, free: 3.129 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.351, allocations: 12.03 kB / 1.448 GB, free: 3.117 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003498/1.355, allocations: 0.5048 MB / 1.449 GB, free: 2.609 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003486/1.358, allocations: 1.351 MB / 1.45 GB, free: 1.203 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/1.359, allocations: 170.2 kB / 1.45 GB, free: 1.023 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004174/1.359, allocations: 152 kB / 1.45 GB, free: 0.875 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00382/1.363, allocations: 1.749 MB / 1.452 GB, free: 15.05 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.708e-05/1.363, allocations: 3.938 kB / 1.452 GB, free: 15.05 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/1.363, allocations: 64 kB / 1.452 GB, free: 14.98 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.802e-05/1.363, allocations: 58.69 kB / 1.452 GB, free: 14.93 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002896/1.366, allocations: 1.381 MB / 1.453 GB, free: 13.54 MB / 1.186 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.0121/1.378, allocations: 8.203 MB / 1.462 GB, free: 4.633 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/1.38, allocations: 0.9005 MB / 1.462 GB, free: 3.723 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009539/1.381, allocations: 0.5302 MB / 1.463 GB, free: 3.195 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006341/1.382, allocations: 316.2 kB / 1.463 GB, free: 2.832 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/1.382, allocations: 63.47 kB / 1.463 GB, free: 2.762 MB / 1.186 GB Notification: Performance of pre-optimization done (n=96): time 1.373e-05/1.382, allocations: 0 / 1.463 GB, free: 2.762 MB / 1.186 GB Notification: Performance of matching and sorting (n=102): time 0.007098/1.389, allocations: 3.123 MB / 1.466 GB, free: 15.58 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/1.389, allocations: 60.41 kB / 1.466 GB, free: 15.51 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/1.39, allocations: 1.258 MB / 1.468 GB, free: 14.25 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/1.391, allocations: 49.7 kB / 1.468 GB, free: 14.2 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006145/1.391, allocations: 0.8133 MB / 1.468 GB, free: 13.37 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/1.391, allocations: 370.6 kB / 1.469 GB, free: 13 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/1.392, allocations: 230.8 kB / 1.469 GB, free: 12.77 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.392, allocations: 353.9 kB / 1.469 GB, free: 12.42 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008144/1.393, allocations: 441.9 kB / 1.47 GB, free: 11.99 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/1.394, allocations: 0.826 MB / 1.471 GB, free: 10.99 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/1.396, allocations: 1.252 MB / 1.472 GB, free: 9.613 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/1.396, allocations: 11.94 kB / 1.472 GB, free: 9.602 MB / 1.201 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.0026/1.398, allocations: 1.398 MB / 1.473 GB, free: 8.199 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/1.399, allocations: 19.97 kB / 1.473 GB, free: 8.18 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/1.399, allocations: 8 kB / 1.473 GB, free: 8.172 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/1.399, allocations: 16 kB / 1.473 GB, free: 8.156 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/1.4, allocations: 279.5 kB / 1.473 GB, free: 7.883 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.47e-05/1.4, allocations: 19.94 kB / 1.474 GB, free: 7.863 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/1.401, allocations: 67.94 kB / 1.474 GB, free: 7.797 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.558e-05/1.401, allocations: 52 kB / 1.474 GB, free: 7.746 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001419/1.403, allocations: 0.7718 MB / 1.474 GB, free: 6.973 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001111/1.404, allocations: 0.8182 MB / 1.475 GB, free: 5.984 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001852/1.406, allocations: 1.233 MB / 1.476 GB, free: 4.625 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.891e-06/1.406, allocations: 4 kB / 1.476 GB, free: 4.621 MB / 1.201 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002425/1.408, allocations: 1.393 MB / 1.478 GB, free: 3.219 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.408, allocations: 12 kB / 1.478 GB, free: 3.207 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.408, allocations: 8 kB / 1.478 GB, free: 3.199 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.408, allocations: 16.75 kB / 1.478 GB, free: 3.184 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/1.409, allocations: 283.5 kB / 1.478 GB, free: 2.906 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/1.409, allocations: 19.94 kB / 1.478 GB, free: 2.887 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/1.411, allocations: 67.94 kB / 1.478 GB, free: 2.82 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.001e-05/1.411, allocations: 52 kB / 1.478 GB, free: 2.77 MB / 1.201 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.0003836/1.411, allocations: 267.8 kB / 1.478 GB, free: 2.5 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/1.411, allocations: 166 kB / 1.479 GB, free: 2.336 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/1.414, allocations: 1.158 MB / 1.48 GB, free: 1.172 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/1.414, allocations: 12 kB / 1.48 GB, free: 1.16 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.414, allocations: 0 / 1.48 GB, free: 1.16 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001641/1.415, allocations: 1.079 MB / 1.481 GB, free: 28 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004967/1.42, allocations: 2.788 MB / 1.484 GB, free: 13.16 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/1.42, allocations: 4 kB / 1.484 GB, free: 13.15 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.421, allocations: 243.7 kB / 1.484 GB, free: 12.91 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/1.421, allocations: 12.16 kB / 1.484 GB, free: 12.9 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.147e-05/1.422, allocations: 31.98 kB / 1.484 GB, free: 12.87 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.715e-05/1.422, allocations: 4 kB / 1.484 GB, free: 12.87 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.422, allocations: 4 kB / 1.484 GB, free: 12.86 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/1.425, allocations: 1.76 MB / 1.486 GB, free: 11.07 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008576/1.425, allocations: 335 kB / 1.486 GB, free: 10.72 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/1.426, allocations: 24 kB / 1.486 GB, free: 10.7 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009859/1.427, allocations: 68.91 kB / 1.486 GB, free: 10.63 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/1.427, allocations: 57.11 kB / 1.486 GB, free: 10.57 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.828e-05/1.427, allocations: 43.97 kB / 1.486 GB, free: 10.53 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001312/1.428, allocations: 0.8426 MB / 1.487 GB, free: 9.688 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.703e-06/1.428, allocations: 4.094 kB / 1.487 GB, free: 9.684 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002161/1.43, allocations: 0.7695 MB / 1.488 GB, free: 8.914 MB / 1.217 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.000648/1.431, allocations: 274.2 kB / 1.488 GB, free: 8.648 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003157/1.434, allocations: 1.74 MB / 1.49 GB, free: 6.914 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.434, allocations: 0 / 1.49 GB, free: 6.914 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0008505/1.435, allocations: 0.5248 MB / 1.49 GB, free: 6.391 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/1.439, allocations: 0.9123 MB / 1.491 GB, free: 5.492 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00578/1.445, allocations: 3.529 MB / 1.494 GB, free: 1.906 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/1.446, allocations: 1.433 MB / 1.496 GB, free: 452 kB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004864/1.446, allocations: 143.4 kB / 1.496 GB, free: 308 kB / 1.217 GB Notification: Performance of SimCode: time 1.273e-06/1.446, allocations: 4 kB / 1.496 GB, free: 304 kB / 1.217 GB Notification: Performance of Templates: time 0.04205/1.488, allocations: 26.67 MB / 1.522 GB, free: 5.832 MB / 1.248 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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