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.008389/0.008389, allocations: 100.3 kB / 15.73 MB, free: 5.602 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.002252/0.002252, allocations: 190.4 kB / 16.68 MB, free: 5.523 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.566/2.566, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 59.91 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9042/0.9067, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2375/1.144, allocations: 222.6 MB / 1.384 GB, free: 4.395 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01855/1.163, allocations: 12.11 MB / 1.396 GB, free: 8.262 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003431/1.166, allocations: 71.56 kB / 1.396 GB, free: 8.191 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00288/1.169, allocations: 0.885 MB / 1.397 GB, free: 7.301 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.009924/1.179, allocations: 2.977 MB / 1.4 GB, free: 4.312 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005452/1.185, allocations: 1.446 MB / 1.401 GB, free: 2.871 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.008348/1.193, allocations: 4.47 MB / 1.405 GB, free: 14.39 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003417/1.197, allocations: 1.709 MB / 1.407 GB, free: 12.64 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007126/1.204, allocations: 2.565 MB / 1.41 GB, free: 10.07 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003648/1.207, allocations: 1.544 MB / 1.411 GB, free: 8.539 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0008812/1.208, allocations: 180 kB / 1.411 GB, free: 8.363 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005536/1.214, allocations: 2.179 MB / 1.413 GB, free: 6.18 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001289/1.215, allocations: 0.709 MB / 1.414 GB, free: 5.469 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002381/1.218, allocations: 1.046 MB / 1.415 GB, free: 4.418 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.007208/1.225, allocations: 3.336 MB / 1.418 GB, free: 1.07 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.225, allocations: 0 / 1.418 GB, free: 1.07 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.813e-06/1.225, allocations: 0 / 1.418 GB, free: 1.07 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001206/1.225, allocations: 0 / 1.418 GB, free: 1.07 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.005702/1.231, allocations: 2.348 MB / 1.421 GB, free: 14.66 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/1.231, allocations: 8.922 kB / 1.421 GB, free: 14.66 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/1.234, allocations: 0.5101 MB / 1.421 GB, free: 14.14 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003027/1.237, allocations: 1.35 MB / 1.423 GB, free: 12.74 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/1.237, allocations: 114.8 kB / 1.423 GB, free: 12.62 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000425/1.238, allocations: 155.9 kB / 1.423 GB, free: 12.47 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003549/1.241, allocations: 1.76 MB / 1.425 GB, free: 10.6 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.762e-05/1.242, allocations: 7.938 kB / 1.425 GB, free: 10.59 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/1.242, allocations: 60 kB / 1.425 GB, free: 10.54 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-05/1.242, allocations: 46.55 kB / 1.425 GB, free: 10.49 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/1.244, allocations: 1.403 MB / 1.426 GB, free: 9.078 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.0112/1.256, allocations: 7.31 MB / 1.433 GB, free: 1.391 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/1.257, allocations: 1.055 MB / 1.434 GB, free: 300 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/1.259, allocations: 0.6905 MB / 1.435 GB, free: 15.59 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002717/1.259, allocations: 114.2 kB / 1.435 GB, free: 15.46 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/1.259, allocations: 55.48 kB / 1.435 GB, free: 15.4 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001421/1.26, allocations: 306.9 kB / 1.435 GB, free: 15.1 MB / 1.17 GB Notification: Performance of pre-optimization done (n=106): time 9.138e-06/1.26, allocations: 0 / 1.435 GB, free: 15.1 MB / 1.17 GB Notification: Performance of matching and sorting (n=112): time 0.01061/1.271, allocations: 4.53 MB / 1.44 GB, free: 10.5 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/1.271, allocations: 167.2 kB / 1.44 GB, free: 10.3 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/1.273, allocations: 1.279 MB / 1.441 GB, free: 9.008 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/1.273, allocations: 49.7 kB / 1.441 GB, free: 8.953 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005606/1.274, allocations: 0.7136 MB / 1.442 GB, free: 8.234 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003997/1.274, allocations: 416.4 kB / 1.442 GB, free: 7.824 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003766/1.274, allocations: 263.5 kB / 1.443 GB, free: 7.559 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.275, allocations: 357.9 kB / 1.443 GB, free: 7.203 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008395/1.275, allocations: 0.527 MB / 1.443 GB, free: 6.676 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/1.277, allocations: 0.8518 MB / 1.444 GB, free: 5.699 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.01151/1.288, allocations: 4.799 MB / 1.449 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/1.288, allocations: 4 kB / 1.449 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002704/1.291, allocations: 1.621 MB / 1.45 GB, free: 15.1 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/1.291, allocations: 13.25 kB / 1.45 GB, free: 15.09 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/1.291, allocations: 8 kB / 1.451 GB, free: 15.08 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/1.291, allocations: 15.94 kB / 1.451 GB, free: 15.07 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/1.292, allocations: 291.5 kB / 1.451 GB, free: 14.78 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.559e-05/1.292, allocations: 23.92 kB / 1.451 GB, free: 14.76 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/1.294, allocations: 49.09 kB / 1.451 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.294, allocations: 64.19 kB / 1.451 GB, free: 14.65 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.0007925/1.295, allocations: 431.5 kB / 1.451 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003898/1.295, allocations: 167 kB / 1.452 GB, free: 14.05 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/1.297, allocations: 1.295 MB / 1.453 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/1.297, allocations: 12 kB / 1.453 GB, free: 12.73 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.297, allocations: 4 kB / 1.453 GB, free: 12.73 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001541/1.299, allocations: 1.248 MB / 1.454 GB, free: 11.42 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005863/1.305, allocations: 3.762 MB / 1.458 GB, free: 7.457 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/1.305, allocations: 12 kB / 1.458 GB, free: 7.445 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/1.306, allocations: 243.7 kB / 1.458 GB, free: 7.207 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.841e-05/1.306, allocations: 16 kB / 1.458 GB, free: 7.191 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.071e-05/1.306, allocations: 39.94 kB / 1.458 GB, free: 7.152 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.89e-05/1.306, allocations: 19.92 kB / 1.458 GB, free: 7.133 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/1.306, allocations: 19.95 kB / 1.458 GB, free: 7.113 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/1.309, allocations: 2.122 MB / 1.46 GB, free: 4.84 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006769/1.309, allocations: 375.9 kB / 1.46 GB, free: 4.453 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/1.31, allocations: 35.94 kB / 1.46 GB, free: 4.418 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/1.311, allocations: 55.95 kB / 1.461 GB, free: 4.363 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/1.311, allocations: 100.3 kB / 1.461 GB, free: 4.266 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.452e-05/1.311, allocations: 55.97 kB / 1.461 GB, free: 4.211 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001122/1.312, allocations: 0.849 MB / 1.462 GB, free: 3.363 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.5e-07/1.312, allocations: 0 / 1.462 GB, free: 3.363 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001398/1.313, allocations: 435.9 kB / 1.462 GB, free: 2.938 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.0005403/1.314, allocations: 253.8 kB / 1.462 GB, free: 2.695 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00202/1.316, allocations: 1.246 MB / 1.463 GB, free: 1.449 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.316, allocations: 7.875 kB / 1.463 GB, free: 1.441 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007522/1.317, allocations: 0.5487 MB / 1.464 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003721/1.321, allocations: 0.9336 MB / 1.465 GB, free: 15.98 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/1.326, allocations: 3.454 MB / 1.468 GB, free: 12.36 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009873/1.327, allocations: 1.376 MB / 1.47 GB, free: 10.95 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001469/1.328, allocations: 377.3 kB / 1.47 GB, free: 10.57 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/1.329, allocations: 131.4 kB / 1.47 GB, free: 10.45 MB / 1.201 GB Notification: Performance of SimCode: time 4.51e-07/1.329, allocations: 0 / 1.47 GB, free: 10.45 MB / 1.201 GB Notification: Performance of Templates: time 0.06192/1.391, allocations: 30.65 MB / 1.5 GB, free: 12.17 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches