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.001597/0.001597, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001559/0.001559, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 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.397/2.397, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 68.06 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9684/0.9699, allocations: 151.6 MB / 1.167 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2611/1.231, allocations: 222.6 MB / 1.385 GB, free: 4.359 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02057/1.252, allocations: 12.11 MB / 1.397 GB, free: 8.223 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003273/1.255, allocations: 75.56 kB / 1.397 GB, free: 8.148 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.003104/1.258, allocations: 0.8889 MB / 1.397 GB, free: 7.254 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.009006/1.267, allocations: 2.972 MB / 1.4 GB, free: 4.27 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004306/1.272, allocations: 1.448 MB / 1.402 GB, free: 2.828 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007018/1.279, allocations: 4.467 MB / 1.406 GB, free: 14.35 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003253/1.282, allocations: 1.702 MB / 1.408 GB, free: 12.61 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006982/1.289, allocations: 2.569 MB / 1.41 GB, free: 10.04 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003725/1.293, allocations: 1.55 MB / 1.412 GB, free: 8.5 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007863/1.293, allocations: 180 kB / 1.412 GB, free: 8.324 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005331/1.299, allocations: 2.175 MB / 1.414 GB, free: 6.145 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001221/1.3, allocations: 0.705 MB / 1.415 GB, free: 5.438 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002457/1.303, allocations: 1.05 MB / 1.416 GB, free: 4.383 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.006396/1.309, allocations: 3.33 MB / 1.419 GB, free: 1.043 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.309, allocations: 0 / 1.419 GB, free: 1.043 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.904e-06/1.309, allocations: 0 / 1.419 GB, free: 1.043 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.814e-05/1.309, allocations: 0 / 1.419 GB, free: 1.043 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.004173/1.313, allocations: 2.28 MB / 1.421 GB, free: 14.71 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.313, allocations: 8.625 kB / 1.421 GB, free: 14.7 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/1.316, allocations: 0.4972 MB / 1.422 GB, free: 14.2 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002763/1.319, allocations: 1.333 MB / 1.423 GB, free: 12.81 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.223e-05/1.319, allocations: 118.7 kB / 1.423 GB, free: 12.69 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/1.319, allocations: 151.9 kB / 1.423 GB, free: 12.54 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/1.322, allocations: 1.76 MB / 1.425 GB, free: 10.67 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.567e-05/1.322, allocations: 7.875 kB / 1.425 GB, free: 10.66 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/1.323, allocations: 64 kB / 1.425 GB, free: 10.6 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.545e-05/1.323, allocations: 54.53 kB / 1.425 GB, free: 10.55 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/1.325, allocations: 1.399 MB / 1.427 GB, free: 9.141 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.01067/1.336, allocations: 7.289 MB / 1.434 GB, free: 1.473 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/1.338, allocations: 1.063 MB / 1.435 GB, free: 376 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009903/1.339, allocations: 0.6944 MB / 1.435 GB, free: 15.66 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/1.339, allocations: 114.1 kB / 1.436 GB, free: 15.54 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.803e-05/1.339, allocations: 51.5 kB / 1.436 GB, free: 15.48 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001233/1.34, allocations: 306.8 kB / 1.436 GB, free: 15.18 MB / 1.17 GB Notification: Performance of pre-optimization done (n=106): time 7.464e-06/1.34, allocations: 0 / 1.436 GB, free: 15.18 MB / 1.17 GB Notification: Performance of matching and sorting (n=112): time 0.009383/1.35, allocations: 4.436 MB / 1.44 GB, free: 10.66 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/1.35, allocations: 171.2 kB / 1.44 GB, free: 10.45 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/1.352, allocations: 1.267 MB / 1.442 GB, free: 9.176 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/1.352, allocations: 53.7 kB / 1.442 GB, free: 9.117 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006246/1.353, allocations: 0.7007 MB / 1.442 GB, free: 8.41 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000445/1.353, allocations: 398.2 kB / 1.443 GB, free: 8.016 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004353/1.353, allocations: 263.4 kB / 1.443 GB, free: 7.75 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.354, allocations: 353.9 kB / 1.443 GB, free: 7.398 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008934/1.355, allocations: 0.527 MB / 1.444 GB, free: 6.871 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/1.356, allocations: 0.8596 MB / 1.445 GB, free: 5.887 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.01246/1.368, allocations: 4.795 MB / 1.449 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/1.368, allocations: 0 / 1.449 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00306/1.371, allocations: 1.624 MB / 1.451 GB, free: 15.29 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/1.371, allocations: 8 kB / 1.451 GB, free: 15.29 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/1.371, allocations: 8 kB / 1.451 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.852e-05/1.371, allocations: 16 kB / 1.451 GB, free: 15.26 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.373, allocations: 287.5 kB / 1.451 GB, free: 14.98 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.695e-05/1.373, allocations: 16.08 kB / 1.451 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/1.374, allocations: 66.23 kB / 1.451 GB, free: 14.9 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/1.375, allocations: 59.98 kB / 1.451 GB, free: 14.84 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.0009585/1.375, allocations: 427.7 kB / 1.452 GB, free: 14.42 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005634/1.376, allocations: 162.1 kB / 1.452 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/1.378, allocations: 1.291 MB / 1.453 GB, free: 12.95 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/1.379, allocations: 12 kB / 1.453 GB, free: 12.94 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.379, allocations: 4 kB / 1.453 GB, free: 12.94 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001695/1.38, allocations: 1.241 MB / 1.454 GB, free: 11.63 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007014/1.387, allocations: 3.766 MB / 1.458 GB, free: 7.668 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.387, allocations: 8 kB / 1.458 GB, free: 7.66 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.388, allocations: 247.6 kB / 1.458 GB, free: 7.418 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.568e-05/1.388, allocations: 15.94 kB / 1.458 GB, free: 7.402 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/1.389, allocations: 43.92 kB / 1.458 GB, free: 7.359 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.987e-05/1.389, allocations: 19.94 kB / 1.458 GB, free: 7.34 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/1.389, allocations: 15.94 kB / 1.458 GB, free: 7.324 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/1.392, allocations: 2.121 MB / 1.461 GB, free: 5.051 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.393, allocations: 359 kB / 1.461 GB, free: 4.68 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003853/1.393, allocations: 43.92 kB / 1.461 GB, free: 4.637 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/1.395, allocations: 54.06 kB / 1.461 GB, free: 4.586 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/1.395, allocations: 108.3 kB / 1.461 GB, free: 4.48 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.395, allocations: 51.98 kB / 1.461 GB, free: 4.43 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001402/1.396, allocations: 0.849 MB / 1.462 GB, free: 3.582 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.6e-07/1.396, allocations: 0 / 1.462 GB, free: 3.582 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001769/1.398, allocations: 436 kB / 1.462 GB, free: 3.156 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.0006506/1.399, allocations: 240.6 kB / 1.463 GB, free: 2.922 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00241/1.401, allocations: 1.25 MB / 1.464 GB, free: 1.672 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.401, allocations: 7.938 kB / 1.464 GB, free: 1.664 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009092/1.402, allocations: 0.5487 MB / 1.464 GB, free: 1.117 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004935/1.407, allocations: 0.9327 MB / 1.465 GB, free: 208 kB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00666/1.414, allocations: 3.481 MB / 1.469 GB, free: 12.55 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/1.415, allocations: 1.368 MB / 1.47 GB, free: 11.15 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000725/1.416, allocations: 131.4 kB / 1.47 GB, free: 11.02 MB / 1.201 GB Notification: Performance of SimCode: time 1.012e-06/1.416, allocations: 0 / 1.47 GB, free: 11.02 MB / 1.201 GB Notification: Performance of Templates: time 0.04292/1.459, allocations: 25.4 MB / 1.495 GB, free: 1.801 MB / 1.217 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 -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