Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001653/0.001653, allocations: 106.3 kB / 16.41 MB, free: 6.5 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.002028/0.002028, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 59.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9435/0.945, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.3114/1.256, allocations: 242.4 MB / 1.325 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02632/1.283, allocations: 15.89 MB / 1.341 GB, free: 11.11 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003687/1.286, allocations: 75.56 kB / 1.341 GB, free: 11.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004267/1.291, allocations: 1.181 MB / 1.342 GB, free: 9.852 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01207/1.303, allocations: 3.818 MB / 1.346 GB, free: 6.02 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006008/1.309, allocations: 1.831 MB / 1.348 GB, free: 4.195 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.008394/1.317, allocations: 5.246 MB / 1.353 GB, free: 14.94 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00371/1.321, allocations: 1.676 MB / 1.354 GB, free: 13.23 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007306/1.328, allocations: 2.639 MB / 1.357 GB, free: 10.58 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004615/1.333, allocations: 1.71 MB / 1.359 GB, free: 8.875 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0009225/1.334, allocations: 180 kB / 1.359 GB, free: 8.699 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006874/1.341, allocations: 2.709 MB / 1.361 GB, free: 5.984 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001527/1.342, allocations: 0.7673 MB / 1.362 GB, free: 5.215 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002906/1.345, allocations: 1.147 MB / 1.363 GB, free: 4.062 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00845/1.354, allocations: 3.564 MB / 1.367 GB, free: 500 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.354, allocations: 0 / 1.367 GB, free: 500 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.514e-06/1.354, allocations: 0 / 1.367 GB, free: 500 kB / 1.092 GB Notification: Performance of Transformations before backend: time 0.00013/1.354, allocations: 0 / 1.367 GB, free: 500 kB / 1.092 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.006756/1.361, allocations: 2.495 MB / 1.369 GB, free: 13.94 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/1.361, allocations: 12.03 kB / 1.369 GB, free: 13.93 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/1.364, allocations: 0.5087 MB / 1.37 GB, free: 13.41 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003161/1.368, allocations: 1.362 MB / 1.371 GB, free: 12 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/1.368, allocations: 178.2 kB / 1.371 GB, free: 11.81 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003771/1.368, allocations: 148 kB / 1.371 GB, free: 11.66 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003327/1.372, allocations: 1.741 MB / 1.373 GB, free: 9.848 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/1.372, allocations: 0 / 1.373 GB, free: 9.848 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/1.372, allocations: 60 kB / 1.373 GB, free: 9.789 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.147e-05/1.372, allocations: 62.69 kB / 1.373 GB, free: 9.727 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/1.374, allocations: 1.377 MB / 1.375 GB, free: 8.344 MB / 1.107 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.0106/1.385, allocations: 8.21 MB / 1.383 GB, free: 15.43 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/1.387, allocations: 0.9046 MB / 1.383 GB, free: 14.52 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008979/1.387, allocations: 0.5307 MB / 1.384 GB, free: 13.98 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006429/1.388, allocations: 316.4 kB / 1.384 GB, free: 13.62 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/1.388, allocations: 55.5 kB / 1.384 GB, free: 13.55 MB / 1.123 GB Notification: Performance of pre-optimization done (n=96): time 2.495e-06/1.388, allocations: 0 / 1.384 GB, free: 13.55 MB / 1.123 GB Notification: Performance of matching and sorting (n=102): time 0.007533/1.396, allocations: 3.122 MB / 1.387 GB, free: 10.39 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/1.396, allocations: 64.39 kB / 1.387 GB, free: 10.31 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/1.398, allocations: 1.262 MB / 1.389 GB, free: 9.039 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/1.398, allocations: 49.7 kB / 1.389 GB, free: 8.984 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006663/1.399, allocations: 0.8133 MB / 1.389 GB, free: 8.16 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003955/1.399, allocations: 362.7 kB / 1.39 GB, free: 7.801 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/1.399, allocations: 234.7 kB / 1.39 GB, free: 7.566 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.4, allocations: 349.9 kB / 1.39 GB, free: 7.219 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008536/1.4, allocations: 449.8 kB / 1.391 GB, free: 6.777 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/1.402, allocations: 0.8221 MB / 1.392 GB, free: 5.789 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/1.404, allocations: 1.256 MB / 1.393 GB, free: 4.41 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/1.404, allocations: 4 kB / 1.393 GB, free: 4.406 MB / 1.123 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00275/1.407, allocations: 1.402 MB / 1.394 GB, free: 2.992 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/1.407, allocations: 12 kB / 1.394 GB, free: 2.98 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/1.407, allocations: 8 kB / 1.394 GB, free: 2.973 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.571e-05/1.407, allocations: 16 kB / 1.394 GB, free: 2.957 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.408, allocations: 275.6 kB / 1.395 GB, free: 2.688 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.264e-05/1.408, allocations: 20.34 kB / 1.395 GB, free: 2.668 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/1.409, allocations: 79.83 kB / 1.395 GB, free: 2.59 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.41, allocations: 51.94 kB / 1.395 GB, free: 2.539 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001591/1.411, allocations: 0.7757 MB / 1.395 GB, free: 1.762 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001153/1.412, allocations: 0.8182 MB / 1.396 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002144/1.414, allocations: 1.233 MB / 1.397 GB, free: 15.41 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.487e-06/1.414, allocations: 4 kB / 1.397 GB, free: 15.41 MB / 1.139 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002737/1.417, allocations: 1.39 MB / 1.399 GB, free: 14.01 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.417, allocations: 8.188 kB / 1.399 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.417, allocations: 12 kB / 1.399 GB, free: 13.99 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.417, allocations: 16 kB / 1.399 GB, free: 13.98 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.418, allocations: 279.5 kB / 1.399 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-05/1.418, allocations: 19.94 kB / 1.399 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/1.42, allocations: 71.84 kB / 1.399 GB, free: 13.61 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/1.42, allocations: 55.98 kB / 1.399 GB, free: 13.56 MB / 1.139 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.0004219/1.421, allocations: 275.8 kB / 1.399 GB, free: 13.28 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004641/1.421, allocations: 162 kB / 1.4 GB, free: 13.12 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/1.424, allocations: 1.143 MB / 1.401 GB, free: 11.96 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/1.424, allocations: 12 kB / 1.401 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/1.424, allocations: 4 kB / 1.401 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001718/1.425, allocations: 1.087 MB / 1.402 GB, free: 10.82 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005244/1.431, allocations: 2.781 MB / 1.405 GB, free: 7.961 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.689e-06/1.431, allocations: 8 kB / 1.405 GB, free: 7.953 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/1.432, allocations: 247.9 kB / 1.405 GB, free: 7.711 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.18e-05/1.432, allocations: 7.938 kB / 1.405 GB, free: 7.703 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.713e-05/1.432, allocations: 24 kB / 1.405 GB, free: 7.68 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/1.432, allocations: 7.984 kB / 1.405 GB, free: 7.672 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/1.432, allocations: 4 kB / 1.405 GB, free: 7.668 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/1.435, allocations: 1.764 MB / 1.407 GB, free: 5.863 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008928/1.436, allocations: 342.9 kB / 1.407 GB, free: 5.508 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003669/1.437, allocations: 20 kB / 1.407 GB, free: 5.488 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/1.438, allocations: 66.5 kB / 1.407 GB, free: 5.426 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/1.438, allocations: 64.95 kB / 1.407 GB, free: 5.363 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/1.438, allocations: 43.97 kB / 1.407 GB, free: 5.32 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001581/1.44, allocations: 0.8387 MB / 1.408 GB, free: 4.484 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.4e-07/1.44, allocations: 0 / 1.408 GB, free: 4.484 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002709/1.443, allocations: 0.7656 MB / 1.409 GB, free: 3.719 MB / 1.139 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.0007241/1.443, allocations: 278.5 kB / 1.409 GB, free: 3.449 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003441/1.447, allocations: 1.74 MB / 1.411 GB, free: 1.711 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.447, allocations: 0 / 1.411 GB, free: 1.711 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009741/1.448, allocations: 0.517 MB / 1.411 GB, free: 1.199 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004726/1.452, allocations: 0.9198 MB / 1.412 GB, free: 296 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006748/1.459, allocations: 3.536 MB / 1.415 GB, free: 12.7 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/1.461, allocations: 1.445 MB / 1.417 GB, free: 11.21 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006229/1.461, allocations: 139.4 kB / 1.417 GB, free: 11.08 MB / 1.154 GB Notification: Performance of SimCode: time 3.306e-06/1.461, allocations: 0 / 1.417 GB, free: 11.08 MB / 1.154 GB Notification: Performance of Templates: time 0.04309/1.505, allocations: 26.66 MB / 1.443 GB, free: 0.6367 MB / 1.17 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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