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.001343/0.001343, allocations: 108.7 kB / 16.41 MB, free: 6.445 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.001455/0.001455, allocations: 192 kB / 17.34 MB, free: 5.703 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.566/1.566, allocations: 222.9 MB / 241 MB, free: 15.09 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.776/2.776, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002209/0.00221, allocations: 68.12 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8843/0.8865, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2632/1.15, allocations: 222.6 MB / 1.385 GB, free: 4.363 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01979/1.17, allocations: 12.12 MB / 1.397 GB, free: 8.215 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002865/1.173, allocations: 71.62 kB / 1.397 GB, free: 8.145 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002669/1.175, allocations: 0.9005 MB / 1.398 GB, free: 7.238 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.008292/1.184, allocations: 2.961 MB / 1.4 GB, free: 4.266 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00391/1.187, allocations: 1.451 MB / 1.402 GB, free: 2.82 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007339/1.195, allocations: 4.461 MB / 1.406 GB, free: 14.35 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002829/1.198, allocations: 1.721 MB / 1.408 GB, free: 12.59 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009981/1.208, allocations: 2.559 MB / 1.41 GB, free: 10.02 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004206/1.212, allocations: 1.555 MB / 1.412 GB, free: 8.48 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0005044/1.212, allocations: 176 kB / 1.412 GB, free: 8.309 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005139/1.218, allocations: 2.175 MB / 1.414 GB, free: 6.129 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0009253/1.219, allocations: 0.7051 MB / 1.415 GB, free: 5.422 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001676/1.22, allocations: 1.046 MB / 1.416 GB, free: 4.371 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.006433/1.227, allocations: 3.344 MB / 1.419 GB, free: 1.016 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.227, allocations: 0 / 1.419 GB, free: 1.016 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.685e-06/1.227, allocations: 0 / 1.419 GB, free: 1.016 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.24e-05/1.227, allocations: 4 kB / 1.419 GB, free: 1.012 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.004275/1.231, allocations: 2.34 MB / 1.421 GB, free: 14.61 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.231, allocations: 12.92 kB / 1.422 GB, free: 14.6 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003146/1.234, allocations: 0.5061 MB / 1.422 GB, free: 14.09 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/1.237, allocations: 1.346 MB / 1.423 GB, free: 12.69 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-05/1.237, allocations: 114.8 kB / 1.423 GB, free: 12.58 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/1.237, allocations: 151.9 kB / 1.424 GB, free: 12.43 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003026/1.24, allocations: 1.764 MB / 1.425 GB, free: 10.55 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/1.24, allocations: 4 kB / 1.425 GB, free: 10.55 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/1.24, allocations: 60 kB / 1.425 GB, free: 10.49 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.106e-05/1.24, allocations: 54.48 kB / 1.425 GB, free: 10.44 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/1.243, allocations: 1.395 MB / 1.427 GB, free: 9.035 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.01002/1.253, allocations: 7.306 MB / 1.434 GB, free: 1.352 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/1.255, allocations: 1.056 MB / 1.435 GB, free: 260 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/1.256, allocations: 0.6983 MB / 1.436 GB, free: 15.55 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002364/1.256, allocations: 110 kB / 1.436 GB, free: 15.42 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/1.256, allocations: 51.56 kB / 1.436 GB, free: 15.36 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001227/1.257, allocations: 319 kB / 1.436 GB, free: 15.05 MB / 1.17 GB Notification: Performance of pre-optimization done (n=106): time 3.677e-06/1.257, allocations: 0 / 1.436 GB, free: 15.05 MB / 1.17 GB Notification: Performance of matching and sorting (n=112): time 0.009164/1.267, allocations: 4.535 MB / 1.441 GB, free: 10.44 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/1.267, allocations: 167.2 kB / 1.441 GB, free: 10.24 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/1.269, allocations: 1.275 MB / 1.442 GB, free: 8.957 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/1.269, allocations: 49.7 kB / 1.442 GB, free: 8.902 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006349/1.269, allocations: 0.7059 MB / 1.443 GB, free: 8.191 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004307/1.27, allocations: 420.4 kB / 1.443 GB, free: 7.777 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004193/1.27, allocations: 263.5 kB / 1.443 GB, free: 7.512 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001897/1.27, allocations: 353.9 kB / 1.444 GB, free: 7.16 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009133/1.271, allocations: 0.5309 MB / 1.444 GB, free: 6.629 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/1.273, allocations: 0.8557 MB / 1.445 GB, free: 5.648 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.01195/1.285, allocations: 4.792 MB / 1.45 GB, free: 0.6914 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.285, allocations: 4 kB / 1.45 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002938/1.288, allocations: 1.629 MB / 1.451 GB, free: 15.05 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/1.288, allocations: 11.98 kB / 1.451 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/1.288, allocations: 8 kB / 1.451 GB, free: 15.03 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/1.288, allocations: 16.05 kB / 1.451 GB, free: 15.02 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.289, allocations: 291.5 kB / 1.452 GB, free: 14.73 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.601e-05/1.289, allocations: 23.92 kB / 1.452 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/1.29, allocations: 57.3 kB / 1.452 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/1.29, allocations: 59.98 kB / 1.452 GB, free: 14.6 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.0008382/1.291, allocations: 429.4 kB / 1.452 GB, free: 14.16 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000358/1.292, allocations: 167 kB / 1.452 GB, free: 14 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/1.294, allocations: 1.287 MB / 1.454 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/1.294, allocations: 12 kB / 1.454 GB, free: 12.69 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.294, allocations: 4 kB / 1.454 GB, free: 12.69 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001723/1.296, allocations: 1.244 MB / 1.455 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006256/1.302, allocations: 3.77 MB / 1.458 GB, free: 7.41 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/1.302, allocations: 8 kB / 1.458 GB, free: 7.402 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/1.303, allocations: 247.6 kB / 1.459 GB, free: 7.16 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-05/1.303, allocations: 16 kB / 1.459 GB, free: 7.145 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.32e-05/1.303, allocations: 39.94 kB / 1.459 GB, free: 7.105 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.219e-05/1.303, allocations: 23.92 kB / 1.459 GB, free: 7.082 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/1.303, allocations: 16.02 kB / 1.459 GB, free: 7.066 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/1.306, allocations: 2.13 MB / 1.461 GB, free: 4.785 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007277/1.307, allocations: 367.9 kB / 1.461 GB, free: 4.406 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/1.307, allocations: 35.94 kB / 1.461 GB, free: 4.371 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/1.308, allocations: 58.14 kB / 1.461 GB, free: 4.316 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/1.309, allocations: 100.3 kB / 1.461 GB, free: 4.219 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.245e-05/1.309, allocations: 51.98 kB / 1.461 GB, free: 4.168 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001243/1.31, allocations: 0.849 MB / 1.462 GB, free: 3.32 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.31, allocations: 0 / 1.462 GB, free: 3.32 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001448/1.311, allocations: 439.9 kB / 1.463 GB, free: 2.891 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.0005844/1.312, allocations: 242.7 kB / 1.463 GB, free: 2.656 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002439/1.314, allocations: 1.25 MB / 1.464 GB, free: 1.406 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.314, allocations: 0 / 1.464 GB, free: 1.406 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008955/1.315, allocations: 0.5526 MB / 1.465 GB, free: 0.8555 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004167/1.319, allocations: 0.9315 MB / 1.466 GB, free: 15.95 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/1.326, allocations: 3.454 MB / 1.469 GB, free: 12.32 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/1.328, allocations: 1.38 MB / 1.47 GB, free: 10.91 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001613/1.329, allocations: 381.4 kB / 1.471 GB, free: 10.53 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/1.33, allocations: 135.4 kB / 1.471 GB, free: 10.4 MB / 1.201 GB Notification: Performance of SimCode: time 1.022e-06/1.33, allocations: 0 / 1.471 GB, free: 10.4 MB / 1.201 GB Notification: Performance of Templates: time 0.06065/1.39, allocations: 30.77 MB / 1.501 GB, free: 12.01 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches