Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 104.3 kB / 19.71 MB, free: 2.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 206.8 kB / 22.99 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.76/2.76, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 66.5 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3593, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2469/0.6061, allocations: 197.3 MB / 1.476 GB, free: 5.918 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01871/0.6248, allocations: 11.35 MB / 1.488 GB, free: 10.54 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.6272, allocations: 111 kB / 1.488 GB, free: 10.43 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002354/0.6296, allocations: 0.8343 MB / 1.488 GB, free: 9.594 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007971/0.6376, allocations: 2.99 MB / 1.491 GB, free: 6.594 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003946/0.6415, allocations: 1.46 MB / 1.493 GB, free: 5.137 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006452/0.648, allocations: 4.534 MB / 1.497 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.6502, allocations: 1.347 MB / 1.499 GB, free: 15.2 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006185/0.6563, allocations: 2.578 MB / 1.501 GB, free: 12.62 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00352/0.6599, allocations: 1.596 MB / 1.503 GB, free: 11.04 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003826/0.6602, allocations: 180 kB / 1.503 GB, free: 10.86 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004035/0.6643, allocations: 1.804 MB / 1.505 GB, free: 9.055 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0008361/0.6651, allocations: 0.7283 MB / 1.505 GB, free: 8.324 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.6663, allocations: 0.8751 MB / 1.506 GB, free: 7.445 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005084/0.6714, allocations: 3.285 MB / 1.509 GB, free: 4.148 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.6714, allocations: 3.938 kB / 1.509 GB, free: 4.145 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6714, allocations: 0 / 1.509 GB, free: 4.145 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.189e-05/0.6715, allocations: 4 kB / 1.509 GB, free: 4.141 MB / 1.201 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.003859/0.6753, allocations: 2.249 MB / 1.512 GB, free: 1.852 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.6754, allocations: 8.031 kB / 1.512 GB, free: 1.844 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002961/0.6783, allocations: 0.51 MB / 1.512 GB, free: 1.332 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/0.6809, allocations: 1.254 MB / 1.513 GB, free: 28 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.681, allocations: 114.8 kB / 1.513 GB, free: 15.91 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.6812, allocations: 148 kB / 1.514 GB, free: 15.77 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.6843, allocations: 2.156 MB / 1.516 GB, free: 13.41 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.474e-05/0.6843, allocations: 11.92 kB / 1.516 GB, free: 13.4 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.6845, allocations: 60 kB / 1.516 GB, free: 13.34 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.638e-05/0.6845, allocations: 50.55 kB / 1.516 GB, free: 13.29 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.6869, allocations: 1.423 MB / 1.517 GB, free: 11.86 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.008363/0.6953, allocations: 5.686 MB / 1.523 GB, free: 6.031 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.697, allocations: 1.006 MB / 1.524 GB, free: 4.984 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.6981, allocations: 0.6637 MB / 1.524 GB, free: 4.305 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.6983, allocations: 32.98 kB / 1.524 GB, free: 4.273 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.6984, allocations: 55.5 kB / 1.524 GB, free: 4.211 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001399/0.6998, allocations: 323.3 kB / 1.525 GB, free: 3.895 MB / 1.217 GB Notification: Performance of pre-optimization done (n=106): time 3.416e-06/0.6998, allocations: 0 / 1.525 GB, free: 3.895 MB / 1.217 GB Notification: Performance of matching and sorting (n=112): time 0.008793/0.7086, allocations: 4.368 MB / 1.529 GB, free: 15.48 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.7087, allocations: 171.2 kB / 1.529 GB, free: 15.28 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.7101, allocations: 1.004 MB / 1.53 GB, free: 14.27 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.7102, allocations: 53.7 kB / 1.53 GB, free: 14.21 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006444/0.7109, allocations: 0.7397 MB / 1.531 GB, free: 13.46 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004321/0.7113, allocations: 420.3 kB / 1.531 GB, free: 13.04 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004132/0.7117, allocations: 250.8 kB / 1.532 GB, free: 12.79 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.7119, allocations: 361.7 kB / 1.532 GB, free: 12.44 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009676/0.7129, allocations: 0.514 MB / 1.532 GB, free: 11.92 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.7142, allocations: 1.016 MB / 1.533 GB, free: 10.74 MB / 1.232 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.01215/0.7263, allocations: 4.498 MB / 1.538 GB, free: 6.137 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.7263, allocations: 4 kB / 1.538 GB, free: 6.133 MB / 1.232 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00299/0.7293, allocations: 1.563 MB / 1.539 GB, free: 4.566 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.7293, allocations: 8 kB / 1.539 GB, free: 4.559 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.7294, allocations: 12.12 kB / 1.539 GB, free: 4.547 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/0.7294, allocations: 16 kB / 1.539 GB, free: 4.531 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.7306, allocations: 279.5 kB / 1.54 GB, free: 4.258 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.85e-05/0.7306, allocations: 19.94 kB / 1.54 GB, free: 4.238 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.732, allocations: 55.92 kB / 1.54 GB, free: 4.184 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.7321, allocations: 59.92 kB / 1.54 GB, free: 4.125 MB / 1.232 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 (163): * Single equations (assignments): 163 * 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.0008318/0.7329, allocations: 425.8 kB / 1.54 GB, free: 3.703 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003697/0.7333, allocations: 147.1 kB / 1.54 GB, free: 3.559 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.7357, allocations: 1.277 MB / 1.542 GB, free: 2.266 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.7357, allocations: 15.94 kB / 1.542 GB, free: 2.25 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.7357, allocations: 4 kB / 1.542 GB, free: 2.246 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001909/0.7376, allocations: 1.237 MB / 1.543 GB, free: 0.9414 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006411/0.744, allocations: 3.342 MB / 1.546 GB, free: 13.42 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.7441, allocations: 12 kB / 1.546 GB, free: 13.41 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.7453, allocations: 243.6 kB / 1.546 GB, free: 13.17 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.98e-05/0.7453, allocations: 16.66 kB / 1.546 GB, free: 13.16 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.993e-05/0.7454, allocations: 39.98 kB / 1.546 GB, free: 13.12 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.038e-05/0.7454, allocations: 23.92 kB / 1.546 GB, free: 13.09 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.55e-05/0.7454, allocations: 23.81 kB / 1.546 GB, free: 13.07 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00332/0.7487, allocations: 2.115 MB / 1.548 GB, free: 10.82 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007816/0.7495, allocations: 255 kB / 1.549 GB, free: 10.57 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.7497, allocations: 47.98 kB / 1.549 GB, free: 10.52 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.7507, allocations: 41.3 kB / 1.549 GB, free: 10.48 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.7509, allocations: 112.2 kB / 1.549 GB, free: 10.37 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.446e-05/0.751, allocations: 51.97 kB / 1.549 GB, free: 10.32 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001055/0.752, allocations: 0.6625 MB / 1.55 GB, free: 9.652 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.752, allocations: 0 / 1.55 GB, free: 9.652 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001564/0.7536, allocations: 424 kB / 1.55 GB, free: 9.238 MB / 1.248 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.0004196/0.754, allocations: 224.2 kB / 1.55 GB, free: 9.012 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002207/0.7562, allocations: 1.175 MB / 1.551 GB, free: 7.84 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/0.7562, allocations: 0 / 1.551 GB, free: 7.84 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0009261/0.7572, allocations: 0.5249 MB / 1.552 GB, free: 7.312 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/0.7607, allocations: 0.7755 MB / 1.553 GB, free: 6.559 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006082/0.7668, allocations: 3.505 MB / 1.556 GB, free: 2.883 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009601/0.7678, allocations: 0.7877 MB / 1.557 GB, free: 2.059 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/0.7683, allocations: 123.4 kB / 1.557 GB, free: 1.938 MB / 1.248 GB Notification: Performance of SimCode: time 1.343e-06/0.7683, allocations: 0 / 1.557 GB, free: 1.938 MB / 1.248 GB Notification: Performance of Templates: time 0.04192/0.8103, allocations: 24.07 MB / 1.58 GB, free: 10.02 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.561647159978747]