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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006741/0.006741, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.001527/0.001527, allocations: 193.8 kB / 16.68 MB, free: 5.953 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.61/2.61, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.11 kB / 1.054 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9939/0.9952, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2381/1.233, allocations: 222.6 MB / 1.425 GB, free: 14.14 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02554/1.259, allocations: 12.11 MB / 1.437 GB, free: 2.004 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003995/1.263, allocations: 71.62 kB / 1.437 GB, free: 1.934 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004381/1.267, allocations: 0.8654 MB / 1.438 GB, free: 1.062 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01382/1.281, allocations: 2.858 MB / 1.441 GB, free: 14.19 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006876/1.288, allocations: 1.444 MB / 1.442 GB, free: 12.75 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01074/1.299, allocations: 4.462 MB / 1.446 GB, free: 8.281 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004342/1.303, allocations: 1.705 MB / 1.448 GB, free: 6.539 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/1.313, allocations: 2.514 MB / 1.451 GB, free: 4.02 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006088/1.32, allocations: 1.54 MB / 1.452 GB, free: 2.492 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0009703/1.321, allocations: 180 kB / 1.452 GB, free: 2.316 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00901/1.33, allocations: 2.163 MB / 1.454 GB, free: 152 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001738/1.331, allocations: 0.7129 MB / 1.455 GB, free: 15.43 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.003326/1.335, allocations: 1.046 MB / 1.456 GB, free: 14.38 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.009679/1.344, allocations: 3.326 MB / 1.459 GB, free: 11.05 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/1.344, allocations: 3.938 kB / 1.459 GB, free: 11.05 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.244e-06/1.344, allocations: 0 / 1.459 GB, free: 11.05 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001478/1.345, allocations: 0 / 1.459 GB, free: 11.05 MB / 1.186 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.009733/1.354, allocations: 2.28 MB / 1.462 GB, free: 8.707 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/1.354, allocations: 8.031 kB / 1.462 GB, free: 8.699 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006711/1.361, allocations: 0.4972 MB / 1.462 GB, free: 8.199 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005216/1.366, allocations: 1.345 MB / 1.463 GB, free: 6.797 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/1.367, allocations: 110.8 kB / 1.463 GB, free: 6.688 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004421/1.367, allocations: 151.9 kB / 1.464 GB, free: 6.539 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004989/1.372, allocations: 1.76 MB / 1.465 GB, free: 4.668 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.354e-05/1.372, allocations: 4 kB / 1.465 GB, free: 4.664 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002492/1.372, allocations: 60 kB / 1.465 GB, free: 4.605 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/1.373, allocations: 54.53 kB / 1.465 GB, free: 4.551 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004111/1.377, allocations: 1.399 MB / 1.467 GB, free: 3.145 MB / 1.186 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.01531/1.392, allocations: 7.297 MB / 1.474 GB, free: 11.46 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/1.395, allocations: 1.052 MB / 1.475 GB, free: 10.36 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/1.397, allocations: 0.6828 MB / 1.476 GB, free: 9.668 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003697/1.397, allocations: 126.2 kB / 1.476 GB, free: 9.527 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.984e-05/1.397, allocations: 47.56 kB / 1.476 GB, free: 9.473 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002073/1.399, allocations: 310.5 kB / 1.476 GB, free: 9.168 MB / 1.201 GB Notification: Performance of pre-optimization done (n=106): time 6.482e-06/1.399, allocations: 7.938 kB / 1.476 GB, free: 9.16 MB / 1.201 GB Notification: Performance of matching and sorting (n=112): time 0.0148/1.414, allocations: 4.434 MB / 1.48 GB, free: 4.641 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/1.414, allocations: 167.2 kB / 1.481 GB, free: 4.441 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/1.418, allocations: 1.267 MB / 1.482 GB, free: 3.164 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002078/1.418, allocations: 53.7 kB / 1.482 GB, free: 3.105 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/1.419, allocations: 0.7046 MB / 1.483 GB, free: 2.395 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006117/1.42, allocations: 394.2 kB / 1.483 GB, free: 2.004 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006722/1.421, allocations: 263.4 kB / 1.483 GB, free: 1.742 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000236/1.421, allocations: 357.9 kB / 1.484 GB, free: 1.387 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/1.422, allocations: 0.527 MB / 1.484 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/1.424, allocations: 0.8518 MB / 1.485 GB, free: 15.88 MB / 1.217 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.0213/1.446, allocations: 4.795 MB / 1.49 GB, free: 10.93 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-05/1.446, allocations: 4 kB / 1.49 GB, free: 10.92 MB / 1.217 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00512/1.451, allocations: 1.624 MB / 1.491 GB, free: 9.289 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/1.451, allocations: 8 kB / 1.491 GB, free: 9.281 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/1.451, allocations: 8 kB / 1.491 GB, free: 9.273 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.304e-05/1.451, allocations: 12 kB / 1.491 GB, free: 9.262 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/1.453, allocations: 295.5 kB / 1.491 GB, free: 8.973 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.418e-05/1.453, allocations: 19.94 kB / 1.491 GB, free: 8.953 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/1.456, allocations: 54.05 kB / 1.492 GB, free: 8.902 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/1.456, allocations: 59.98 kB / 1.492 GB, free: 8.844 MB / 1.217 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.00143/1.458, allocations: 433.4 kB / 1.492 GB, free: 8.41 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008313/1.459, allocations: 162.1 kB / 1.492 GB, free: 8.25 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00412/1.463, allocations: 1.287 MB / 1.493 GB, free: 6.949 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/1.463, allocations: 12 kB / 1.493 GB, free: 6.938 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.463, allocations: 0 / 1.493 GB, free: 6.938 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002906/1.466, allocations: 1.248 MB / 1.495 GB, free: 5.625 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/1.478, allocations: 3.77 MB / 1.498 GB, free: 1.652 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001192/1.478, allocations: 8 kB / 1.498 GB, free: 1.645 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002179/1.48, allocations: 243.6 kB / 1.499 GB, free: 1.406 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.614e-05/1.48, allocations: 16 kB / 1.499 GB, free: 1.391 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/1.48, allocations: 43.92 kB / 1.499 GB, free: 1.348 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.352e-05/1.48, allocations: 19.92 kB / 1.499 GB, free: 1.328 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-05/1.48, allocations: 15.94 kB / 1.499 GB, free: 1.312 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005264/1.486, allocations: 2.125 MB / 1.501 GB, free: 15.04 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/1.487, allocations: 359 kB / 1.501 GB, free: 14.66 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006498/1.488, allocations: 39.92 kB / 1.501 GB, free: 14.62 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/1.49, allocations: 52.84 kB / 1.501 GB, free: 14.57 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/1.49, allocations: 100.3 kB / 1.501 GB, free: 14.47 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/1.49, allocations: 55.92 kB / 1.501 GB, free: 14.42 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002479/1.493, allocations: 0.8529 MB / 1.502 GB, free: 13.57 MB / 1.232 GB Notification: Performance of sort global known variables: time 3.21e-07/1.493, allocations: 0 / 1.502 GB, free: 13.57 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003077/1.496, allocations: 432 kB / 1.503 GB, free: 13.14 MB / 1.232 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.0008565/1.497, allocations: 255.5 kB / 1.503 GB, free: 12.91 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00383/1.501, allocations: 1.243 MB / 1.504 GB, free: 11.66 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.501, allocations: 4 kB / 1.504 GB, free: 11.66 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001478/1.502, allocations: 0.5487 MB / 1.505 GB, free: 11.11 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008229/1.51, allocations: 0.9278 MB / 1.505 GB, free: 10.21 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009485/1.52, allocations: 3.399 MB / 1.509 GB, free: 6.645 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/1.522, allocations: 1.368 MB / 1.51 GB, free: 5.242 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.003032/1.525, allocations: 381.3 kB / 1.51 GB, free: 4.863 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009224/1.526, allocations: 131.5 kB / 1.511 GB, free: 4.738 MB / 1.232 GB Notification: Performance of SimCode: time 1.453e-06/1.526, allocations: 11.88 kB / 1.511 GB, free: 4.727 MB / 1.232 GB Notification: Performance of Templates: time 0.055/1.581, allocations: 30.64 MB / 1.541 GB, free: 6.496 MB / 1.264 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches