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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001894/0.001894, allocations: 104.9 kB / 15.99 MB, free: 6.348 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.001955/0.001955, allocations: 199 kB / 16.91 MB, free: 6.188 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.427/1.427, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.652/2.652, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.67 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3162, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7996/1.116, allocations: 219.8 MB / 1.279 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01901/1.135, allocations: 12.04 MB / 1.291 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003122/1.138, allocations: 67.56 kB / 1.291 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002697/1.141, allocations: 0.7343 MB / 1.291 GB, free: 360 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007963/1.149, allocations: 2.689 MB / 1.294 GB, free: 13.65 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003955/1.153, allocations: 1.298 MB / 1.295 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006554/1.159, allocations: 4.458 MB / 1.3 GB, free: 7.895 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/1.162, allocations: 1.678 MB / 1.301 GB, free: 6.184 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006271/1.168, allocations: 2.444 MB / 1.304 GB, free: 3.738 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004145/1.172, allocations: 1.653 MB / 1.305 GB, free: 2.105 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004601/1.173, allocations: 180 kB / 1.305 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00498/1.178, allocations: 2.268 MB / 1.308 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0009574/1.179, allocations: 0.709 MB / 1.308 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001623/1.18, allocations: 1.05 MB / 1.309 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003993/1.185, allocations: 2.483 MB / 1.312 GB, free: 11.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/1.185, allocations: 0 / 1.312 GB, free: 11.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.264e-06/1.185, allocations: 3.938 kB / 1.312 GB, free: 11.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.767e-05/1.185, allocations: 0 / 1.312 GB, free: 11.4 MB / 1.029 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.004272/1.189, allocations: 2.281 MB / 1.314 GB, free: 9.062 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.189, allocations: 8.031 kB / 1.314 GB, free: 9.055 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003126/1.192, allocations: 0.4971 MB / 1.314 GB, free: 8.555 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/1.194, allocations: 1.251 MB / 1.316 GB, free: 7.246 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.011e-05/1.194, allocations: 110.7 kB / 1.316 GB, free: 7.137 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/1.195, allocations: 151.9 kB / 1.316 GB, free: 6.988 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002958/1.198, allocations: 1.772 MB / 1.318 GB, free: 5.105 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/1.198, allocations: 3.938 kB / 1.318 GB, free: 5.102 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/1.198, allocations: 63.94 kB / 1.318 GB, free: 5.039 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.651e-05/1.198, allocations: 50.55 kB / 1.318 GB, free: 4.988 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/1.2, allocations: 1.403 MB / 1.319 GB, free: 3.578 MB / 1.029 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.009703/1.21, allocations: 7.295 MB / 1.326 GB, free: 11.9 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/1.212, allocations: 1.051 MB / 1.327 GB, free: 10.81 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/1.213, allocations: 0.6945 MB / 1.328 GB, free: 10.1 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/1.213, allocations: 102.1 kB / 1.328 GB, free: 9.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/1.213, allocations: 63.44 kB / 1.328 GB, free: 9.906 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001373/1.214, allocations: 318.4 kB / 1.328 GB, free: 9.594 MB / 1.045 GB Notification: Performance of pre-optimization done (n=106): time 5.761e-06/1.214, allocations: 3.984 kB / 1.328 GB, free: 9.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=112): time 0.008548/1.223, allocations: 4.426 MB / 1.333 GB, free: 5.082 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/1.223, allocations: 179.3 kB / 1.333 GB, free: 4.871 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/1.225, allocations: 1.263 MB / 1.334 GB, free: 3.598 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/1.225, allocations: 45.7 kB / 1.334 GB, free: 3.547 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006031/1.226, allocations: 0.7007 MB / 1.335 GB, free: 2.84 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003936/1.226, allocations: 406.2 kB / 1.335 GB, free: 2.438 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004054/1.226, allocations: 263.4 kB / 1.336 GB, free: 2.176 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001835/1.227, allocations: 361.9 kB / 1.336 GB, free: 1.816 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008496/1.227, allocations: 0.5318 MB / 1.336 GB, free: 1.285 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/1.229, allocations: 0.8514 MB / 1.337 GB, free: 316 kB / 1.045 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.01209/1.241, allocations: 4.807 MB / 1.342 GB, free: 11.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/1.241, allocations: 7.938 kB / 1.342 GB, free: 11.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002804/1.243, allocations: 1.616 MB / 1.344 GB, free: 9.703 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/1.244, allocations: 10.34 kB / 1.344 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/1.244, allocations: 9.438 kB / 1.344 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/1.244, allocations: 16 kB / 1.344 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/1.245, allocations: 296.2 kB / 1.344 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/1.245, allocations: 19.94 kB / 1.344 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/1.246, allocations: 107.7 kB / 1.344 GB, free: 9.258 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.246, allocations: 59.98 kB / 1.344 GB, free: 9.199 MB / 1.061 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.0007802/1.247, allocations: 431.4 kB / 1.344 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/1.248, allocations: 166 kB / 1.345 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/1.25, allocations: 1.291 MB / 1.346 GB, free: 7.301 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.25, allocations: 12 kB / 1.346 GB, free: 7.289 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.25, allocations: 0 / 1.346 GB, free: 7.289 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001681/1.252, allocations: 1.244 MB / 1.347 GB, free: 5.977 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006061/1.258, allocations: 3.774 MB / 1.351 GB, free: 2.008 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/1.258, allocations: 12 kB / 1.351 GB, free: 1.996 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.259, allocations: 247.6 kB / 1.351 GB, free: 1.754 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.998e-05/1.259, allocations: 16 kB / 1.351 GB, free: 1.738 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.951e-05/1.259, allocations: 39.94 kB / 1.351 GB, free: 1.699 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.948e-05/1.259, allocations: 19.92 kB / 1.351 GB, free: 1.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/1.259, allocations: 15.94 kB / 1.351 GB, free: 1.664 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/1.262, allocations: 2.117 MB / 1.353 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007203/1.263, allocations: 363 kB / 1.353 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/1.263, allocations: 39.94 kB / 1.354 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/1.264, allocations: 94.02 kB / 1.354 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/1.264, allocations: 108.3 kB / 1.354 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.494e-05/1.264, allocations: 47.98 kB / 1.354 GB, free: 14.74 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001239/1.266, allocations: 0.849 MB / 1.355 GB, free: 13.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 2e-07/1.266, allocations: 3.938 kB / 1.355 GB, free: 13.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001562/1.267, allocations: 436 kB / 1.355 GB, free: 13.46 MB / 1.076 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.0006762/1.268, allocations: 247.6 kB / 1.355 GB, free: 13.22 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003034/1.271, allocations: 1.426 MB / 1.357 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/1.271, allocations: 0 / 1.357 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009752/1.272, allocations: 0.5526 MB / 1.357 GB, free: 11.24 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005149/1.277, allocations: 0.9349 MB / 1.358 GB, free: 10.34 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006779/1.284, allocations: 4.104 MB / 1.362 GB, free: 6.07 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/1.285, allocations: 1.372 MB / 1.363 GB, free: 4.668 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005968/1.286, allocations: 139.3 kB / 1.364 GB, free: 4.531 MB / 1.076 GB Notification: Performance of SimCode: time 8.71e-07/1.286, allocations: 4 kB / 1.364 GB, free: 4.527 MB / 1.076 GB Notification: Performance of Templates: time 0.04092/1.327, allocations: 25.21 MB / 1.388 GB, free: 11.48 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (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) 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) Reference file matches