Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008576/0.008576, allocations: 100.6 kB / 15.73 MB, free: 6.02 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.002178/0.002178, allocations: 189 kB / 16.67 MB, free: 5.938 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 15.05 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.514/2.514, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 63.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.002, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.3434/1.345, allocations: 222.6 MB / 1.384 GB, free: 4.406 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02122/1.367, allocations: 12.11 MB / 1.396 GB, free: 8.27 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00285/1.37, allocations: 75.56 kB / 1.396 GB, free: 8.195 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002852/1.373, allocations: 0.8577 MB / 1.397 GB, free: 7.332 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.009411/1.382, allocations: 2.87 MB / 1.4 GB, free: 4.449 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004463/1.387, allocations: 1.431 MB / 1.401 GB, free: 3.023 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007091/1.394, allocations: 4.464 MB / 1.405 GB, free: 14.55 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003329/1.397, allocations: 1.705 MB / 1.407 GB, free: 12.8 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006968/1.404, allocations: 2.475 MB / 1.409 GB, free: 10.32 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003737/1.408, allocations: 1.555 MB / 1.411 GB, free: 8.781 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0008011/1.409, allocations: 176 kB / 1.411 GB, free: 8.609 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005977/1.415, allocations: 2.163 MB / 1.413 GB, free: 6.441 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001506/1.416, allocations: 0.7089 MB / 1.414 GB, free: 5.73 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002625/1.419, allocations: 1.05 MB / 1.415 GB, free: 4.676 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0078/1.426, allocations: 3.348 MB / 1.418 GB, free: 1.316 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.427, allocations: 0 / 1.418 GB, free: 1.316 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.114e-06/1.427, allocations: 0 / 1.418 GB, free: 1.316 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001278/1.427, allocations: 0 / 1.418 GB, free: 1.316 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.006028/1.433, allocations: 2.34 MB / 1.42 GB, free: 14.92 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.433, allocations: 12.91 kB / 1.42 GB, free: 14.91 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/1.436, allocations: 0.4984 MB / 1.421 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/1.439, allocations: 1.361 MB / 1.422 GB, free: 12.99 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.211e-05/1.439, allocations: 102.8 kB / 1.422 GB, free: 12.89 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/1.44, allocations: 152 kB / 1.423 GB, free: 12.74 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003485/1.443, allocations: 1.764 MB / 1.424 GB, free: 10.86 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.517e-05/1.443, allocations: 7.938 kB / 1.424 GB, free: 10.86 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/1.443, allocations: 63.98 kB / 1.424 GB, free: 10.79 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.078e-05/1.443, allocations: 50.55 kB / 1.424 GB, free: 10.74 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/1.446, allocations: 1.399 MB / 1.426 GB, free: 9.336 MB / 1.154 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.009912/1.456, allocations: 7.302 MB / 1.433 GB, free: 1.656 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/1.458, allocations: 1.059 MB / 1.434 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/1.459, allocations: 0.6983 MB / 1.435 GB, free: 15.85 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/1.459, allocations: 106.1 kB / 1.435 GB, free: 15.73 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.935e-05/1.459, allocations: 59.5 kB / 1.435 GB, free: 15.66 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001525/1.461, allocations: 307.1 kB / 1.435 GB, free: 15.36 MB / 1.17 GB Notification: Performance of pre-optimization done (n=106): time 1.3e-05/1.461, allocations: 0 / 1.435 GB, free: 15.36 MB / 1.17 GB Notification: Performance of matching and sorting (n=112): time 0.01063/1.471, allocations: 4.53 MB / 1.439 GB, free: 10.75 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/1.472, allocations: 171.2 kB / 1.44 GB, free: 10.55 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/1.474, allocations: 1.271 MB / 1.441 GB, free: 9.27 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/1.474, allocations: 49.7 kB / 1.441 GB, free: 9.215 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00066/1.475, allocations: 0.7138 MB / 1.442 GB, free: 8.496 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004816/1.475, allocations: 416.4 kB / 1.442 GB, free: 8.086 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004687/1.476, allocations: 267.5 kB / 1.442 GB, free: 7.816 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.476, allocations: 357.9 kB / 1.443 GB, free: 7.461 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009084/1.477, allocations: 0.527 MB / 1.443 GB, free: 6.934 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/1.478, allocations: 0.8557 MB / 1.444 GB, free: 5.953 MB / 1.17 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/1.49, allocations: 4.792 MB / 1.449 GB, free: 0.9961 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/1.49, allocations: 4 kB / 1.449 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002899/1.493, allocations: 1.625 MB / 1.45 GB, free: 15.36 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/1.493, allocations: 8 kB / 1.45 GB, free: 15.35 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/1.493, allocations: 12.12 kB / 1.45 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/1.493, allocations: 16 kB / 1.45 GB, free: 15.32 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/1.494, allocations: 295.5 kB / 1.451 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.719e-05/1.494, allocations: 12 kB / 1.451 GB, free: 15.02 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/1.496, allocations: 69.56 kB / 1.451 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/1.496, allocations: 59.98 kB / 1.451 GB, free: 14.9 MB / 1.186 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0008714/1.497, allocations: 424.6 kB / 1.451 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004856/1.497, allocations: 179 kB / 1.451 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/1.5, allocations: 1.291 MB / 1.453 GB, free: 13 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/1.5, allocations: 12 kB / 1.453 GB, free: 12.98 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.5, allocations: 3.938 kB / 1.453 GB, free: 12.98 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001728/1.501, allocations: 1.244 MB / 1.454 GB, free: 11.67 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006779/1.508, allocations: 3.762 MB / 1.457 GB, free: 7.711 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/1.508, allocations: 12 kB / 1.457 GB, free: 7.699 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/1.509, allocations: 247.8 kB / 1.458 GB, free: 7.457 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.022e-05/1.51, allocations: 12 kB / 1.458 GB, free: 7.445 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.916e-05/1.51, allocations: 43.92 kB / 1.458 GB, free: 7.402 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.026e-05/1.51, allocations: 19.94 kB / 1.458 GB, free: 7.383 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/1.51, allocations: 15.94 kB / 1.458 GB, free: 7.367 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/1.513, allocations: 2.126 MB / 1.46 GB, free: 5.09 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007553/1.513, allocations: 363.9 kB / 1.46 GB, free: 4.715 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/1.514, allocations: 43.92 kB / 1.46 GB, free: 4.672 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.515, allocations: 51.91 kB / 1.46 GB, free: 4.621 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/1.515, allocations: 100.3 kB / 1.46 GB, free: 4.523 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/1.515, allocations: 55.98 kB / 1.46 GB, free: 4.469 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001387/1.517, allocations: 0.849 MB / 1.461 GB, free: 3.621 MB / 1.186 GB Notification: Performance of sort global known variables: time 4.2e-07/1.517, allocations: 0 / 1.461 GB, free: 3.621 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001617/1.518, allocations: 435.9 kB / 1.462 GB, free: 3.195 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * 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.0006241/1.519, allocations: 245.2 kB / 1.462 GB, free: 2.961 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002308/1.521, allocations: 1.247 MB / 1.463 GB, free: 1.715 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.521, allocations: 8 kB / 1.463 GB, free: 1.707 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008691/1.522, allocations: 0.5444 MB / 1.464 GB, free: 1.164 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004465/1.527, allocations: 0.9357 MB / 1.465 GB, free: 256 kB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005687/1.532, allocations: 3.457 MB / 1.468 GB, free: 12.62 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/1.534, allocations: 1.372 MB / 1.469 GB, free: 11.22 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001588/1.535, allocations: 385.3 kB / 1.47 GB, free: 10.84 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005099/1.536, allocations: 131.4 kB / 1.47 GB, free: 10.71 MB / 1.201 GB Notification: Performance of SimCode: time 8.51e-07/1.536, allocations: 0 / 1.47 GB, free: 10.71 MB / 1.201 GB Notification: Performance of Templates: time 0.05315/1.589, allocations: 30.63 MB / 1.5 GB, free: 12.45 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches