Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001918/0.001918, allocations: 109 kB / 16.41 MB, free: 6.496 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.001812/0.001812, allocations: 187 kB / 17.34 MB, free: 5.762 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 67.91 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.8198, allocations: 140.4 MB / 1.089 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2603/1.08, allocations: 222.6 MB / 1.306 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02005/1.1, allocations: 12.13 MB / 1.318 GB, free: 2.938 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003216/1.104, allocations: 75.56 kB / 1.318 GB, free: 2.863 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003025/1.107, allocations: 0.8538 MB / 1.319 GB, free: 2.004 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008603/1.115, allocations: 2.866 MB / 1.322 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004325/1.12, allocations: 1.436 MB / 1.323 GB, free: 13.69 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007088/1.127, allocations: 4.458 MB / 1.327 GB, free: 9.223 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003424/1.13, allocations: 1.709 MB / 1.329 GB, free: 7.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007318/1.138, allocations: 2.5 MB / 1.331 GB, free: 4.977 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003696/1.141, allocations: 1.557 MB / 1.333 GB, free: 3.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008756/1.142, allocations: 176 kB / 1.333 GB, free: 3.258 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005275/1.147, allocations: 2.171 MB / 1.335 GB, free: 1.082 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00122/1.149, allocations: 0.7012 MB / 1.336 GB, free: 388 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00237/1.151, allocations: 1.05 MB / 1.337 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006748/1.158, allocations: 3.322 MB / 1.34 GB, free: 12 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.158, allocations: 0 / 1.34 GB, free: 12 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.024e-06/1.158, allocations: 0 / 1.34 GB, free: 12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001194/1.158, allocations: 0 / 1.34 GB, free: 12 MB / 1.076 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.005506/1.164, allocations: 2.288 MB / 1.342 GB, free: 9.652 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/1.164, allocations: 8.031 kB / 1.342 GB, free: 9.645 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/1.167, allocations: 0.4971 MB / 1.343 GB, free: 9.145 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/1.17, allocations: 1.341 MB / 1.344 GB, free: 7.746 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.059e-05/1.17, allocations: 106.8 kB / 1.344 GB, free: 7.641 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/1.17, allocations: 155.9 kB / 1.344 GB, free: 7.488 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/1.173, allocations: 1.764 MB / 1.346 GB, free: 5.613 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/1.173, allocations: 3.938 kB / 1.346 GB, free: 5.609 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/1.173, allocations: 67.97 kB / 1.346 GB, free: 5.543 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.734e-05/1.173, allocations: 50.55 kB / 1.346 GB, free: 5.492 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/1.175, allocations: 1.403 MB / 1.348 GB, free: 4.082 MB / 1.076 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.008911/1.184, allocations: 7.277 MB / 1.355 GB, free: 12.42 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/1.186, allocations: 1.052 MB / 1.356 GB, free: 11.33 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000883/1.187, allocations: 0.6906 MB / 1.357 GB, free: 10.62 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002141/1.187, allocations: 114.2 kB / 1.357 GB, free: 10.49 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/1.187, allocations: 51.56 kB / 1.357 GB, free: 10.43 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001156/1.188, allocations: 306.5 kB / 1.357 GB, free: 10.13 MB / 1.092 GB Notification: Performance of pre-optimization done (n=106): time 4.308e-06/1.188, allocations: 3.938 kB / 1.357 GB, free: 10.12 MB / 1.092 GB Notification: Performance of matching and sorting (n=112): time 0.007803/1.196, allocations: 4.434 MB / 1.361 GB, free: 5.613 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.606e-05/1.196, allocations: 167.2 kB / 1.361 GB, free: 5.414 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/1.197, allocations: 1.267 MB / 1.363 GB, free: 4.137 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.725e-05/1.198, allocations: 45.7 kB / 1.363 GB, free: 4.086 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005119/1.198, allocations: 0.7125 MB / 1.363 GB, free: 3.367 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003494/1.198, allocations: 394.2 kB / 1.364 GB, free: 2.977 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003652/1.199, allocations: 259.4 kB / 1.364 GB, free: 2.719 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.199, allocations: 361.9 kB / 1.364 GB, free: 2.359 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007721/1.2, allocations: 0.5308 MB / 1.365 GB, free: 1.828 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009994/1.201, allocations: 0.8557 MB / 1.366 GB, free: 0.8477 MB / 1.092 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.0113/1.212, allocations: 4.803 MB / 1.37 GB, free: 11.88 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/1.212, allocations: 4 kB / 1.37 GB, free: 11.87 MB / 1.107 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003052/1.215, allocations: 1.612 MB / 1.372 GB, free: 10.25 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/1.215, allocations: 10.66 kB / 1.372 GB, free: 10.24 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/1.215, allocations: 12 kB / 1.372 GB, free: 10.23 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.804e-05/1.215, allocations: 16 kB / 1.372 GB, free: 10.21 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.216, allocations: 291.5 kB / 1.372 GB, free: 9.93 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.7e-05/1.216, allocations: 23.98 kB / 1.372 GB, free: 9.906 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/1.218, allocations: 54.28 kB / 1.372 GB, free: 9.855 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/1.218, allocations: 59.98 kB / 1.372 GB, free: 9.797 MB / 1.107 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.0008177/1.219, allocations: 439.6 kB / 1.373 GB, free: 9.363 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004827/1.219, allocations: 170 kB / 1.373 GB, free: 9.195 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/1.222, allocations: 1.291 MB / 1.374 GB, free: 7.891 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/1.222, allocations: 12 kB / 1.374 GB, free: 7.879 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.222, allocations: 0 / 1.374 GB, free: 7.879 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/1.223, allocations: 1.248 MB / 1.376 GB, free: 6.559 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006419/1.23, allocations: 3.758 MB / 1.379 GB, free: 2.602 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/1.23, allocations: 12 kB / 1.379 GB, free: 2.59 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/1.231, allocations: 251.8 kB / 1.379 GB, free: 2.344 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.992e-05/1.231, allocations: 16 kB / 1.379 GB, free: 2.328 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-05/1.231, allocations: 35.94 kB / 1.38 GB, free: 2.293 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.736e-05/1.231, allocations: 23.92 kB / 1.38 GB, free: 2.27 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/1.231, allocations: 15.94 kB / 1.38 GB, free: 2.254 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/1.234, allocations: 2.121 MB / 1.382 GB, free: 15.98 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007247/1.235, allocations: 362.9 kB / 1.382 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/1.235, allocations: 39.94 kB / 1.382 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/1.236, allocations: 47.97 kB / 1.382 GB, free: 15.52 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/1.236, allocations: 100.3 kB / 1.382 GB, free: 15.43 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.236, allocations: 55.97 kB / 1.382 GB, free: 15.37 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001224/1.238, allocations: 0.8529 MB / 1.383 GB, free: 14.52 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.41e-07/1.238, allocations: 0 / 1.383 GB, free: 14.52 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001413/1.239, allocations: 432 kB / 1.383 GB, free: 14.1 MB / 1.123 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.24, allocations: 246.9 kB / 1.384 GB, free: 13.86 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002043/1.242, allocations: 1.251 MB / 1.385 GB, free: 12.61 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.242, allocations: 4 kB / 1.385 GB, free: 12.61 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007896/1.242, allocations: 0.5443 MB / 1.385 GB, free: 12.06 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004358/1.247, allocations: 0.9364 MB / 1.386 GB, free: 11.14 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005557/1.252, allocations: 3.467 MB / 1.39 GB, free: 7.508 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/1.254, allocations: 1.368 MB / 1.391 GB, free: 6.109 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005734/1.254, allocations: 135.4 kB / 1.391 GB, free: 5.977 MB / 1.123 GB Notification: Performance of SimCode: time 6.51e-07/1.254, allocations: 0 / 1.391 GB, free: 5.977 MB / 1.123 GB Notification: Performance of Templates: time 0.03971/1.294, allocations: 25.41 MB / 1.416 GB, free: 12.76 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches