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.001535/0.001535, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001617/0.001617, allocations: 192.7 kB / 16.25 MB, free: 6.625 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.469/1.469, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.895/2.895, allocations: 469.8 MB / 0.742 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001963, allocations: 70.72 kB / 0.908 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3121, allocations: 159.1 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.8806/1.193, allocations: 219.8 MB / 1.278 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01831/1.211, allocations: 12.04 MB / 1.29 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003988/1.215, allocations: 69.75 kB / 1.29 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003172/1.218, allocations: 0.7407 MB / 1.291 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01022/1.229, allocations: 2.678 MB / 1.293 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004603/1.233, allocations: 1.302 MB / 1.295 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009253/1.242, allocations: 4.448 MB / 1.299 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0035/1.246, allocations: 1.693 MB / 1.301 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007794/1.254, allocations: 2.445 MB / 1.303 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005214/1.259, allocations: 1.638 MB / 1.305 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000836/1.26, allocations: 183 kB / 1.305 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006532/1.266, allocations: 2.273 MB / 1.307 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00144/1.268, allocations: 0.7113 MB / 1.308 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002494/1.27, allocations: 1.048 MB / 1.309 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006882/1.277, allocations: 3.418 MB / 1.312 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.277, allocations: 1.156 kB / 1.312 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/1.277, allocations: 4.75 kB / 1.312 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.408e-05/1.277, allocations: 0 / 1.312 GB, free: 3.094 MB / 0.9981 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.004971/1.282, allocations: 2.279 MB / 1.314 GB, free: 18.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.283, allocations: 9.219 kB / 1.314 GB, free: 18.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003272/1.286, allocations: 0.4981 MB / 1.315 GB, free: 17.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/1.288, allocations: 1.261 MB / 1.316 GB, free: 17.49 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.62e-05/1.288, allocations: 106.9 kB / 1.316 GB, free: 17.49 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/1.289, allocations: 150.9 kB / 1.316 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/1.291, allocations: 1.765 MB / 1.318 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/1.291, allocations: 4.062 kB / 1.318 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/1.291, allocations: 62.11 kB / 1.318 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.832e-05/1.292, allocations: 57 kB / 1.318 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/1.294, allocations: 1.402 MB / 1.319 GB, free: 17.15 MB / 1.014 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.01025/1.304, allocations: 7.303 MB / 1.327 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/1.306, allocations: 1.041 MB / 1.328 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008406/1.307, allocations: 0.7006 MB / 1.328 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/1.307, allocations: 110.2 kB / 1.328 GB, free: 12.92 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/1.307, allocations: 57.69 kB / 1.328 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001504/1.309, allocations: 317.5 kB / 1.329 GB, free: 12.81 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 4.738e-06/1.309, allocations: 0 / 1.329 GB, free: 12.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.008088/1.317, allocations: 4.437 MB / 1.333 GB, free: 11.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/1.317, allocations: 174.7 kB / 1.333 GB, free: 11.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/1.318, allocations: 1.263 MB / 1.334 GB, free: 11.05 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/1.319, allocations: 53.05 kB / 1.334 GB, free: 11.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005394/1.319, allocations: 0.7013 MB / 1.335 GB, free: 10.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004248/1.32, allocations: 400 kB / 1.336 GB, free: 10.51 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004039/1.32, allocations: 266.4 kB / 1.336 GB, free: 10.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.32, allocations: 357 kB / 1.336 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007039/1.321, allocations: 0.5257 MB / 1.337 GB, free: 10.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009562/1.322, allocations: 0.8615 MB / 1.337 GB, free: 9.828 MB / 1.014 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.01071/1.333, allocations: 4.801 MB / 1.342 GB, free: 8.633 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/1.333, allocations: 2.281 kB / 1.342 GB, free: 8.633 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002644/1.335, allocations: 1.614 MB / 1.344 GB, free: 8.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/1.335, allocations: 8.281 kB / 1.344 GB, free: 8.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/1.335, allocations: 13.09 kB / 1.344 GB, free: 8.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/1.335, allocations: 17.59 kB / 1.344 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/1.337, allocations: 289.7 kB / 1.344 GB, free: 8.004 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-05/1.337, allocations: 31.61 kB / 1.344 GB, free: 7.996 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/1.338, allocations: 115.4 kB / 1.344 GB, free: 7.957 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/1.338, allocations: 62.03 kB / 1.344 GB, free: 7.945 MB / 1.014 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.0007935/1.339, allocations: 422.8 kB / 1.345 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/1.34, allocations: 161.5 kB / 1.345 GB, free: 7.613 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/1.342, allocations: 1.291 MB / 1.346 GB, free: 7.066 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/1.342, allocations: 17.52 kB / 1.346 GB, free: 7.062 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.342, allocations: 3.938 kB / 1.346 GB, free: 7.059 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/1.343, allocations: 1.243 MB / 1.347 GB, free: 6.348 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005876/1.349, allocations: 3.764 MB / 1.351 GB, free: 4.375 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.349, allocations: 10.66 kB / 1.351 GB, free: 4.375 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/1.35, allocations: 243.9 kB / 1.351 GB, free: 4.367 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.019e-05/1.35, allocations: 19.09 kB / 1.351 GB, free: 4.363 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-05/1.35, allocations: 41.94 kB / 1.351 GB, free: 4.344 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.85e-05/1.35, allocations: 20.41 kB / 1.351 GB, free: 4.344 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/1.35, allocations: 19.78 kB / 1.351 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/1.353, allocations: 2.128 MB / 1.353 GB, free: 3.094 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008062/1.354, allocations: 355.9 kB / 1.354 GB, free: 2.855 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/1.354, allocations: 41.27 kB / 1.354 GB, free: 2.836 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.356, allocations: 87.08 kB / 1.354 GB, free: 2.809 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.356, allocations: 100.5 kB / 1.354 GB, free: 2.785 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.155e-05/1.356, allocations: 54.52 kB / 1.354 GB, free: 2.773 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001122/1.357, allocations: 0.8499 MB / 1.355 GB, free: 2.449 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.357, allocations: 0 / 1.355 GB, free: 2.449 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001354/1.358, allocations: 441.3 kB / 1.355 GB, free: 2.402 MB / 1.014 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.0005091/1.359, allocations: 239.8 kB / 1.355 GB, free: 2.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002265/1.361, allocations: 1.435 MB / 1.357 GB, free: 1.859 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/1.361, allocations: 0 / 1.357 GB, free: 1.859 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000694/1.362, allocations: 0.5514 MB / 1.357 GB, free: 1.703 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003724/1.366, allocations: 0.9294 MB / 1.358 GB, free: 1.43 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005336/1.371, allocations: 4.027 MB / 1.362 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.372, allocations: 1.374 MB / 1.364 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001647/1.374, allocations: 382.4 kB / 1.364 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004453/1.374, allocations: 130.2 kB / 1.364 GB, free: 13.93 MB / 1.029 GB Notification: Performance of SimCode: time 4.719e-06/1.374, allocations: 112 / 1.364 GB, free: 13.93 MB / 1.029 GB Notification: Performance of Templates: time 0.05379/1.428, allocations: 30.25 MB / 1.394 GB, free: 6.418 MB / 1.045 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches