Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001517/0.001517, allocations: 103.3 kB / 16.27 MB, free: 5.973 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.001507/0.001507, allocations: 187.8 kB / 17.19 MB, free: 5.613 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.721/2.721, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.91 kB / 0.9245 GB, free: 24 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7614/0.7634, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2705/1.034, allocations: 222.7 MB / 1.3 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02104/1.055, allocations: 12.14 MB / 1.312 GB, free: 3.391 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/1.057, allocations: 67.62 kB / 1.312 GB, free: 3.324 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002645/1.06, allocations: 0.8615 MB / 1.313 GB, free: 2.457 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008476/1.069, allocations: 2.854 MB / 1.316 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004094/1.073, allocations: 1.428 MB / 1.317 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006424/1.079, allocations: 4.448 MB / 1.322 GB, free: 9.715 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002993/1.082, allocations: 1.709 MB / 1.323 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006419/1.089, allocations: 2.705 MB / 1.326 GB, free: 5.266 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003292/1.092, allocations: 1.538 MB / 1.327 GB, free: 3.738 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005711/1.092, allocations: 180 kB / 1.328 GB, free: 3.562 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004682/1.097, allocations: 2.144 MB / 1.33 GB, free: 1.414 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001092/1.098, allocations: 0.7051 MB / 1.33 GB, free: 0.707 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001993/1.1, allocations: 1.05 MB / 1.331 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005362/1.106, allocations: 3.272 MB / 1.335 GB, free: 12.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/1.106, allocations: 3.984 kB / 1.335 GB, free: 12.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.844e-06/1.106, allocations: 4 kB / 1.335 GB, free: 12.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.081e-05/1.106, allocations: 0 / 1.335 GB, free: 12.36 MB / 1.061 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.004122/1.11, allocations: 2.28 MB / 1.337 GB, free: 10.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/1.11, allocations: 12.03 kB / 1.337 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/1.113, allocations: 0.4972 MB / 1.337 GB, free: 9.516 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/1.115, allocations: 1.263 MB / 1.339 GB, free: 8.195 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-05/1.115, allocations: 102.8 kB / 1.339 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002407/1.115, allocations: 159.9 kB / 1.339 GB, free: 7.938 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002922/1.118, allocations: 1.768 MB / 1.341 GB, free: 6.059 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/1.118, allocations: 3.938 kB / 1.341 GB, free: 6.055 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/1.119, allocations: 60 kB / 1.341 GB, free: 5.996 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-05/1.119, allocations: 54.53 kB / 1.341 GB, free: 5.941 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/1.121, allocations: 1.399 MB / 1.342 GB, free: 4.535 MB / 1.061 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.01003/1.131, allocations: 7.561 MB / 1.349 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/1.133, allocations: 1.059 MB / 1.35 GB, free: 11.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/1.134, allocations: 0.6983 MB / 1.351 GB, free: 10.72 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/1.134, allocations: 118.1 kB / 1.351 GB, free: 10.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.941e-05/1.134, allocations: 55.5 kB / 1.351 GB, free: 10.52 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001191/1.135, allocations: 298.6 kB / 1.352 GB, free: 10.23 MB / 1.076 GB Notification: Performance of pre-optimization done (n=106): time 3.216e-06/1.135, allocations: 0 / 1.352 GB, free: 10.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=112): time 0.008901/1.144, allocations: 4.434 MB / 1.356 GB, free: 5.715 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.144, allocations: 171.2 kB / 1.356 GB, free: 5.512 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/1.146, allocations: 1.27 MB / 1.357 GB, free: 4.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/1.146, allocations: 49.7 kB / 1.357 GB, free: 4.176 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000617/1.147, allocations: 0.7007 MB / 1.358 GB, free: 3.469 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004223/1.147, allocations: 402.3 kB / 1.358 GB, free: 3.07 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004135/1.148, allocations: 267.4 kB / 1.359 GB, free: 2.805 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.148, allocations: 357.9 kB / 1.359 GB, free: 2.449 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009041/1.149, allocations: 0.5192 MB / 1.36 GB, free: 1.93 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/1.15, allocations: 0.8631 MB / 1.36 GB, free: 0.9414 MB / 1.076 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.01235/1.163, allocations: 4.815 MB / 1.365 GB, free: 11.97 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/1.163, allocations: 4 kB / 1.365 GB, free: 11.96 MB / 1.092 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002813/1.165, allocations: 1.612 MB / 1.367 GB, free: 10.34 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.165, allocations: 8 kB / 1.367 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.165, allocations: 12.16 kB / 1.367 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.104e-05/1.166, allocations: 16 kB / 1.367 GB, free: 10.31 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.167, allocations: 291.5 kB / 1.367 GB, free: 10.02 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/1.167, allocations: 15.94 kB / 1.367 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/1.168, allocations: 55.83 kB / 1.367 GB, free: 9.953 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/1.168, allocations: 59.97 kB / 1.367 GB, free: 9.895 MB / 1.092 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.0007905/1.169, allocations: 435.7 kB / 1.368 GB, free: 9.461 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003678/1.169, allocations: 166.1 kB / 1.368 GB, free: 9.297 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/1.172, allocations: 1.291 MB / 1.369 GB, free: 7.988 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/1.172, allocations: 19.98 kB / 1.369 GB, free: 7.969 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.172, allocations: 0 / 1.369 GB, free: 7.969 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001813/1.174, allocations: 1.244 MB / 1.37 GB, free: 6.656 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006268/1.18, allocations: 3.754 MB / 1.374 GB, free: 2.699 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/1.18, allocations: 16.03 kB / 1.374 GB, free: 2.684 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/1.181, allocations: 243.7 kB / 1.374 GB, free: 2.445 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/1.181, allocations: 16 kB / 1.374 GB, free: 2.43 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.352e-05/1.181, allocations: 35.94 kB / 1.374 GB, free: 2.395 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-05/1.181, allocations: 27.86 kB / 1.374 GB, free: 2.367 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.491e-05/1.181, allocations: 15.94 kB / 1.374 GB, free: 2.352 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/1.184, allocations: 2.121 MB / 1.376 GB, free: 84 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007288/1.185, allocations: 355 kB / 1.377 GB, free: 15.71 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/1.185, allocations: 43.92 kB / 1.377 GB, free: 15.67 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.186, allocations: 56.48 kB / 1.377 GB, free: 15.62 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/1.187, allocations: 100.3 kB / 1.377 GB, free: 15.52 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-05/1.187, allocations: 51.98 kB / 1.377 GB, free: 15.47 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001238/1.188, allocations: 0.8529 MB / 1.378 GB, free: 14.62 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/1.188, allocations: 0 / 1.378 GB, free: 14.62 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001401/1.189, allocations: 432 kB / 1.378 GB, free: 14.2 MB / 1.107 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.0005438/1.19, allocations: 254 kB / 1.378 GB, free: 13.95 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002703/1.193, allocations: 1.426 MB / 1.38 GB, free: 12.53 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.193, allocations: 7.938 kB / 1.38 GB, free: 12.52 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008632/1.194, allocations: 0.5449 MB / 1.38 GB, free: 11.98 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004212/1.198, allocations: 0.9239 MB / 1.381 GB, free: 11.08 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005605/1.203, allocations: 3.522 MB / 1.385 GB, free: 7.387 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/1.204, allocations: 1.372 MB / 1.386 GB, free: 5.984 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005382/1.205, allocations: 135.3 kB / 1.386 GB, free: 5.852 MB / 1.107 GB Notification: Performance of SimCode: time 6.41e-07/1.205, allocations: 0 / 1.386 GB, free: 5.852 MB / 1.107 GB Notification: Performance of Templates: time 0.03896/1.244, allocations: 25.21 MB / 1.411 GB, free: 12.83 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches