Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001459/0.001459, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001628/0.001628, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.337/1.337, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.924/2.924, allocations: 0.49 GB / 0.7958 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00189/0.00189, allocations: 69.83 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2809, allocations: 176.1 MB / 1.327 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2375/0.5184, allocations: 227.1 MB / 1.549 GB, free: 13.47 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01775/0.5361, allocations: 12.24 MB / 1.561 GB, free: 1.199 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.5382, allocations: 95.19 kB / 1.561 GB, free: 1.105 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.5406, allocations: 0.8889 MB / 1.562 GB, free: 216 kB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.007488/0.5481, allocations: 3.027 MB / 1.565 GB, free: 13.17 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.003633/0.5517, allocations: 1.514 MB / 1.566 GB, free: 11.66 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.005999/0.5577, allocations: 4.58 MB / 1.571 GB, free: 7.074 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002018/0.5597, allocations: 1.366 MB / 1.572 GB, free: 5.664 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006351/0.5661, allocations: 2.862 MB / 1.575 GB, free: 2.797 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003303/0.5694, allocations: 1.634 MB / 1.576 GB, free: 1.172 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0003907/0.5698, allocations: 184 kB / 1.577 GB, free: 0.9922 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004647/0.5744, allocations: 2.315 MB / 1.579 GB, free: 14.67 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0009354/0.5753, allocations: 0.7399 MB / 1.58 GB, free: 13.93 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.5768, allocations: 1.042 MB / 1.581 GB, free: 12.88 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.005158/0.582, allocations: 3.352 MB / 1.584 GB, free: 9.52 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.582, allocations: 4 kB / 1.584 GB, free: 9.516 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.373e-06/0.582, allocations: 0 / 1.584 GB, free: 9.516 MB / 1.279 GB Notification: Performance of Transformations before backend: time 4.432e-05/0.582, allocations: 0 / 1.584 GB, free: 9.516 MB / 1.279 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.003968/0.586, allocations: 2.253 MB / 1.586 GB, free: 7.223 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.586, allocations: 8.031 kB / 1.586 GB, free: 7.215 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002877/0.5889, allocations: 0.5061 MB / 1.587 GB, free: 6.707 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/0.5913, allocations: 1.262 MB / 1.588 GB, free: 5.391 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.304e-05/0.5914, allocations: 110.7 kB / 1.588 GB, free: 5.281 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.5917, allocations: 144 kB / 1.588 GB, free: 5.141 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002733/0.5944, allocations: 1.781 MB / 1.59 GB, free: 3.25 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.71e-05/0.5944, allocations: 15.89 kB / 1.59 GB, free: 3.234 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.5946, allocations: 63.98 kB / 1.59 GB, free: 3.172 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/0.5946, allocations: 54.53 kB / 1.59 GB, free: 3.117 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.5969, allocations: 1.427 MB / 1.591 GB, free: 1.684 MB / 1.279 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.009035/0.6059, allocations: 7.469 MB / 1.599 GB, free: 9.789 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.6075, allocations: 1.028 MB / 1.6 GB, free: 8.715 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000966/0.6085, allocations: 0.6716 MB / 1.6 GB, free: 8.027 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.6086, allocations: 37.11 kB / 1.6 GB, free: 7.992 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.6087, allocations: 55.56 kB / 1.6 GB, free: 7.93 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001285/0.61, allocations: 346.9 kB / 1.601 GB, free: 7.59 MB / 1.295 GB Notification: Performance of pre-optimization done (n=106): time 3.166e-06/0.61, allocations: 3.938 kB / 1.601 GB, free: 7.586 MB / 1.295 GB Notification: Performance of matching and sorting (n=112): time 0.007839/0.6178, allocations: 4.382 MB / 1.605 GB, free: 3.168 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.6179, allocations: 171.2 kB / 1.605 GB, free: 2.965 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.6195, allocations: 1.267 MB / 1.606 GB, free: 1.688 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.6196, allocations: 49.7 kB / 1.606 GB, free: 1.633 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.000571/0.6202, allocations: 0.7059 MB / 1.607 GB, free: 0.9219 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003965/0.6206, allocations: 424.4 kB / 1.608 GB, free: 0.5039 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003816/0.621, allocations: 267.5 kB / 1.608 GB, free: 240 kB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.6041/1.225, allocations: 358 kB / 1.608 GB, free: 280.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/1.226, allocations: 0.5228 MB / 1.609 GB, free: 280.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/1.227, allocations: 0.8531 MB / 1.61 GB, free: 279.9 MB / 1.295 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.01104/1.238, allocations: 4.577 MB / 1.614 GB, free: 278.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/1.238, allocations: 5.469 kB / 1.614 GB, free: 278.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002528/1.241, allocations: 1.618 MB / 1.616 GB, free: 278.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/1.241, allocations: 7.844 kB / 1.616 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/1.241, allocations: 9.453 kB / 1.616 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.565e-05/1.241, allocations: 15.12 kB / 1.616 GB, free: 278.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.242, allocations: 291.8 kB / 1.616 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.642e-05/1.242, allocations: 20.39 kB / 1.616 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/1.243, allocations: 53.34 kB / 1.616 GB, free: 278.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/1.243, allocations: 59.8 kB / 1.616 GB, free: 278.2 MB / 1.295 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.000681/1.244, allocations: 433 kB / 1.616 GB, free: 277.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/1.244, allocations: 169.4 kB / 1.617 GB, free: 277.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/1.246, allocations: 1.287 MB / 1.618 GB, free: 277.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/1.246, allocations: 12.42 kB / 1.618 GB, free: 277.4 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/1.246, allocations: 10 kB / 1.618 GB, free: 277.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001656/1.248, allocations: 1.243 MB / 1.619 GB, free: 276.7 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006421/1.254, allocations: 3.726 MB / 1.623 GB, free: 274.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/1.255, allocations: 9.438 kB / 1.623 GB, free: 274.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/1.256, allocations: 246.6 kB / 1.623 GB, free: 274.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.878e-05/1.256, allocations: 19.53 kB / 1.623 GB, free: 274.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.796e-05/1.256, allocations: 37.06 kB / 1.623 GB, free: 274.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-05/1.256, allocations: 22.06 kB / 1.623 GB, free: 274.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-06/1.256, allocations: 15.16 kB / 1.623 GB, free: 274.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/1.258, allocations: 2.13 MB / 1.625 GB, free: 273.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007443/1.259, allocations: 289.3 kB / 1.625 GB, free: 273.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/1.259, allocations: 41.66 kB / 1.625 GB, free: 273.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009879/1.26, allocations: 51.45 kB / 1.625 GB, free: 273.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/1.26, allocations: 104.2 kB / 1.626 GB, free: 273.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.032e-05/1.261, allocations: 50.36 kB / 1.626 GB, free: 273.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001119/1.262, allocations: 0.8599 MB / 1.626 GB, free: 273 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.262, allocations: 1.094 kB / 1.626 GB, free: 273 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001363/1.263, allocations: 433.4 kB / 1.627 GB, free: 273 MB / 1.295 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.0003486/1.263, allocations: 215.6 kB / 1.627 GB, free: 272.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001958/1.265, allocations: 1.186 MB / 1.628 GB, free: 272.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.265, allocations: 9.656 kB / 1.628 GB, free: 272.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0007222/1.266, allocations: 0.5316 MB / 1.629 GB, free: 272.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003715/1.27, allocations: 0.9258 MB / 1.63 GB, free: 272.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/1.275, allocations: 3.539 MB / 1.633 GB, free: 270 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009575/1.276, allocations: 1.369 MB / 1.634 GB, free: 269.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000591/1.276, allocations: 136.4 kB / 1.635 GB, free: 269.2 MB / 1.295 GB Notification: Performance of SimCode: time 9.32e-07/1.276, allocations: 0 / 1.635 GB, free: 269.2 MB / 1.295 GB Notification: Performance of Templates: time 0.03364/1.31, allocations: 25.45 MB / 1.659 GB, free: 252.9 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.81239775501308]