Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001142/0.001142, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001133/0.001133, allocations: 187 kB / 17.34 MB, free: 5.719 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 67.89 kB / 1.055 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9404/0.9419, allocations: 157.4 MB / 1.208 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2367/1.179, allocations: 222.6 MB / 1.426 GB, free: 14.32 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01948/1.198, allocations: 12.13 MB / 1.438 GB, free: 2.16 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/1.201, allocations: 71.62 kB / 1.438 GB, free: 2.09 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002745/1.203, allocations: 0.8615 MB / 1.439 GB, free: 1.223 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007802/1.211, allocations: 2.854 MB / 1.441 GB, free: 14.35 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004018/1.215, allocations: 1.444 MB / 1.443 GB, free: 12.91 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006653/1.222, allocations: 4.448 MB / 1.447 GB, free: 8.461 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003052/1.225, allocations: 1.717 MB / 1.449 GB, free: 6.707 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006119/1.231, allocations: 2.507 MB / 1.451 GB, free: 4.195 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/1.235, allocations: 1.549 MB / 1.453 GB, free: 2.66 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0006759/1.235, allocations: 180 kB / 1.453 GB, free: 2.484 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005106/1.24, allocations: 2.167 MB / 1.455 GB, free: 320 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001131/1.241, allocations: 0.7052 MB / 1.456 GB, free: 15.6 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002118/1.244, allocations: 1.054 MB / 1.457 GB, free: 14.54 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006238/1.25, allocations: 3.322 MB / 1.46 GB, free: 11.21 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.25, allocations: 0 / 1.46 GB, free: 11.21 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.603e-06/1.25, allocations: 3.938 kB / 1.46 GB, free: 11.21 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.657e-05/1.25, allocations: 0 / 1.46 GB, free: 11.21 MB / 1.186 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.004861/1.255, allocations: 2.28 MB / 1.462 GB, free: 8.871 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.255, allocations: 12.03 kB / 1.462 GB, free: 8.859 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003593/1.259, allocations: 0.4972 MB / 1.463 GB, free: 8.359 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003189/1.262, allocations: 1.337 MB / 1.464 GB, free: 6.965 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/1.262, allocations: 118.8 kB / 1.464 GB, free: 6.848 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004016/1.262, allocations: 151.9 kB / 1.464 GB, free: 6.699 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003335/1.266, allocations: 1.756 MB / 1.466 GB, free: 4.832 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/1.266, allocations: 7.938 kB / 1.466 GB, free: 4.824 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/1.266, allocations: 60 kB / 1.466 GB, free: 4.766 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-05/1.266, allocations: 54.53 kB / 1.466 GB, free: 4.711 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/1.268, allocations: 1.399 MB / 1.468 GB, free: 3.305 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.009151/1.277, allocations: 7.296 MB / 1.475 GB, free: 11.62 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/1.279, allocations: 1.052 MB / 1.476 GB, free: 10.53 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009474/1.28, allocations: 0.6867 MB / 1.476 GB, free: 9.828 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002173/1.28, allocations: 118.2 kB / 1.476 GB, free: 9.695 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/1.28, allocations: 55.48 kB / 1.476 GB, free: 9.633 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001204/1.282, allocations: 306.6 kB / 1.477 GB, free: 9.332 MB / 1.201 GB Notification: Performance of pre-optimization done (n=106): time 8.255e-06/1.282, allocations: 0 / 1.477 GB, free: 9.332 MB / 1.201 GB Notification: Performance of matching and sorting (n=112): time 0.00895/1.291, allocations: 4.434 MB / 1.481 GB, free: 4.812 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.543e-05/1.291, allocations: 175.1 kB / 1.481 GB, free: 4.605 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/1.293, allocations: 1.271 MB / 1.483 GB, free: 3.324 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/1.293, allocations: 53.7 kB / 1.483 GB, free: 3.266 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005317/1.293, allocations: 0.6968 MB / 1.483 GB, free: 2.562 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003923/1.294, allocations: 402.2 kB / 1.484 GB, free: 2.164 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/1.294, allocations: 259.4 kB / 1.484 GB, free: 1.906 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.294, allocations: 357.9 kB / 1.484 GB, free: 1.551 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008256/1.295, allocations: 0.5231 MB / 1.485 GB, free: 1.027 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/1.296, allocations: 0.8557 MB / 1.486 GB, free: 48 kB / 1.201 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.01178/1.308, allocations: 4.802 MB / 1.49 GB, free: 11.09 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/1.308, allocations: 4 kB / 1.49 GB, free: 11.08 MB / 1.217 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002774/1.311, allocations: 1.62 MB / 1.492 GB, free: 9.453 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/1.311, allocations: 8 kB / 1.492 GB, free: 9.445 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/1.311, allocations: 8 kB / 1.492 GB, free: 9.438 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.162e-05/1.311, allocations: 16 kB / 1.492 GB, free: 9.422 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/1.312, allocations: 291.5 kB / 1.492 GB, free: 9.137 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.514e-05/1.312, allocations: 16 kB / 1.492 GB, free: 9.121 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/1.314, allocations: 58.22 kB / 1.492 GB, free: 9.066 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/1.314, allocations: 64.14 kB / 1.492 GB, free: 9.004 MB / 1.217 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.0008606/1.315, allocations: 429.3 kB / 1.493 GB, free: 8.574 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004855/1.315, allocations: 158.1 kB / 1.493 GB, free: 8.418 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/1.317, allocations: 1.287 MB / 1.494 GB, free: 7.117 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/1.317, allocations: 12 kB / 1.494 GB, free: 7.105 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.317, allocations: 3.984 kB / 1.494 GB, free: 7.102 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001497/1.319, allocations: 1.244 MB / 1.495 GB, free: 5.793 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006378/1.325, allocations: 3.766 MB / 1.499 GB, free: 1.824 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/1.325, allocations: 8 kB / 1.499 GB, free: 1.816 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.326, allocations: 247.6 kB / 1.499 GB, free: 1.574 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.998e-05/1.327, allocations: 16 kB / 1.499 GB, free: 1.559 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/1.327, allocations: 39.94 kB / 1.499 GB, free: 1.52 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.341e-05/1.327, allocations: 23.92 kB / 1.499 GB, free: 1.496 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/1.327, allocations: 11.94 kB / 1.499 GB, free: 1.484 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/1.33, allocations: 2.125 MB / 1.501 GB, free: 15.21 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008583/1.331, allocations: 355 kB / 1.502 GB, free: 14.84 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003339/1.331, allocations: 39.92 kB / 1.502 GB, free: 14.8 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/1.333, allocations: 60.42 kB / 1.502 GB, free: 14.75 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/1.333, allocations: 100.3 kB / 1.502 GB, free: 14.65 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/1.333, allocations: 55.98 kB / 1.502 GB, free: 14.59 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001393/1.334, allocations: 0.8529 MB / 1.503 GB, free: 13.74 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.6e-07/1.334, allocations: 0 / 1.503 GB, free: 13.74 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001708/1.336, allocations: 439.9 kB / 1.503 GB, free: 13.31 MB / 1.232 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.0006012/1.337, allocations: 251.3 kB / 1.503 GB, free: 13.07 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002241/1.339, allocations: 1.238 MB / 1.505 GB, free: 11.83 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.339, allocations: 4 kB / 1.505 GB, free: 11.83 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0008191/1.34, allocations: 0.5526 MB / 1.505 GB, free: 11.28 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004367/1.344, allocations: 0.9215 MB / 1.506 GB, free: 10.38 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005591/1.35, allocations: 3.463 MB / 1.51 GB, free: 6.742 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/1.351, allocations: 1.368 MB / 1.511 GB, free: 5.34 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006241/1.351, allocations: 139.4 kB / 1.511 GB, free: 5.207 MB / 1.232 GB Notification: Performance of SimCode: time 9.52e-07/1.351, allocations: 0 / 1.511 GB, free: 5.207 MB / 1.232 GB Notification: Performance of Templates: time 0.04162/1.393, allocations: 25.41 MB / 1.536 GB, free: 12 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches