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.009452/0.009452, allocations: 101.5 kB / 15.73 MB, free: 6.023 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.002037/0.002037, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.813/2.813, allocations: 461.9 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 64.11 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3916, allocations: 157.4 MB / 1.208 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 1.062/1.454, allocations: 222.6 MB / 1.425 GB, free: 5.156 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02008/1.474, allocations: 12.12 MB / 1.437 GB, free: 11.28 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003255/1.477, allocations: 74.06 kB / 1.437 GB, free: 11.25 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002441/1.479, allocations: 0.8678 MB / 1.438 GB, free: 10.51 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.007351/1.487, allocations: 2.853 MB / 1.441 GB, free: 8.16 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003699/1.491, allocations: 1.442 MB / 1.442 GB, free: 6.727 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.005988/1.497, allocations: 4.459 MB / 1.446 GB, free: 2.262 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/1.499, allocations: 1.714 MB / 1.448 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005764/1.505, allocations: 2.504 MB / 1.451 GB, free: 14.01 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002849/1.507, allocations: 1.554 MB / 1.452 GB, free: 12.47 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003106/1.508, allocations: 180 kB / 1.452 GB, free: 12.3 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004424/1.512, allocations: 2.159 MB / 1.454 GB, free: 10.13 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006865/1.513, allocations: 0.7128 MB / 1.455 GB, free: 9.418 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00125/1.514, allocations: 1.038 MB / 1.456 GB, free: 8.375 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005402/1.52, allocations: 3.326 MB / 1.459 GB, free: 5.039 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/1.52, allocations: 0 / 1.459 GB, free: 5.039 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.014e-06/1.52, allocations: 0 / 1.459 GB, free: 5.039 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.877e-05/1.52, allocations: 7.984 kB / 1.459 GB, free: 5.031 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.003911/1.524, allocations: 2.276 MB / 1.462 GB, free: 2.699 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/1.524, allocations: 12.62 kB / 1.462 GB, free: 2.688 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/1.527, allocations: 0.4972 MB / 1.462 GB, free: 2.188 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/1.53, allocations: 1.341 MB / 1.463 GB, free: 0.7891 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-05/1.53, allocations: 110.7 kB / 1.463 GB, free: 0.6797 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/1.53, allocations: 151.9 kB / 1.464 GB, free: 0.5312 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002974/1.533, allocations: 1.772 MB / 1.465 GB, free: 14.64 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/1.533, allocations: 4 kB / 1.465 GB, free: 14.64 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/1.533, allocations: 60 kB / 1.465 GB, free: 14.58 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.482e-05/1.533, allocations: 50.55 kB / 1.465 GB, free: 14.53 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/1.535, allocations: 1.403 MB / 1.467 GB, free: 13.12 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.01033/1.546, allocations: 7.288 MB / 1.474 GB, free: 5.457 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/1.548, allocations: 1.052 MB / 1.475 GB, free: 4.359 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009422/1.549, allocations: 0.6944 MB / 1.476 GB, free: 3.652 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/1.549, allocations: 114.2 kB / 1.476 GB, free: 3.523 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/1.549, allocations: 59.48 kB / 1.476 GB, free: 3.457 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001132/1.55, allocations: 310.6 kB / 1.476 GB, free: 3.152 MB / 1.154 GB Notification: Performance of pre-optimization done (n=106): time 4.248e-06/1.55, allocations: 0 / 1.476 GB, free: 3.152 MB / 1.154 GB Notification: Performance of matching and sorting (n=112): time 0.007956/1.558, allocations: 4.436 MB / 1.48 GB, free: 14.63 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/1.558, allocations: 171.3 kB / 1.481 GB, free: 14.43 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/1.56, allocations: 1.259 MB / 1.482 GB, free: 13.16 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.131e-05/1.56, allocations: 49.7 kB / 1.482 GB, free: 13.1 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005191/1.56, allocations: 0.7045 MB / 1.483 GB, free: 12.39 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003354/1.561, allocations: 398.2 kB / 1.483 GB, free: 12 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003865/1.561, allocations: 259.4 kB / 1.483 GB, free: 11.74 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.561, allocations: 361.9 kB / 1.484 GB, free: 11.38 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008334/1.562, allocations: 0.527 MB / 1.484 GB, free: 10.85 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/1.563, allocations: 0.8557 MB / 1.485 GB, free: 9.871 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.01146/1.575, allocations: 4.792 MB / 1.49 GB, free: 4.918 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.575, allocations: 4 kB / 1.49 GB, free: 4.914 MB / 1.17 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002625/1.577, allocations: 1.624 MB / 1.491 GB, free: 3.281 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.577, allocations: 8 kB / 1.491 GB, free: 3.273 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/1.577, allocations: 8 kB / 1.491 GB, free: 3.266 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/1.577, allocations: 16 kB / 1.491 GB, free: 3.25 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.578, allocations: 287.5 kB / 1.491 GB, free: 2.969 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-05/1.578, allocations: 23.92 kB / 1.491 GB, free: 2.945 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.58, allocations: 53.91 kB / 1.492 GB, free: 2.895 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.58, allocations: 67.97 kB / 1.492 GB, free: 2.828 MB / 1.17 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.0007051/1.581, allocations: 423 kB / 1.492 GB, free: 2.406 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/1.581, allocations: 158.1 kB / 1.492 GB, free: 2.25 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/1.583, allocations: 1.287 MB / 1.493 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/1.583, allocations: 12 kB / 1.493 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.583, allocations: 4 kB / 1.493 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001581/1.585, allocations: 1.244 MB / 1.495 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005852/1.591, allocations: 3.766 MB / 1.498 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/1.591, allocations: 8 kB / 1.498 GB, free: 11.65 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/1.592, allocations: 252.4 kB / 1.499 GB, free: 11.41 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.635e-05/1.592, allocations: 16 kB / 1.499 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-05/1.592, allocations: 39.94 kB / 1.499 GB, free: 11.35 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-05/1.592, allocations: 23.92 kB / 1.499 GB, free: 11.33 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/1.592, allocations: 11.94 kB / 1.499 GB, free: 11.32 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/1.595, allocations: 2.129 MB / 1.501 GB, free: 9.035 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007454/1.595, allocations: 363 kB / 1.501 GB, free: 8.66 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/1.596, allocations: 41 kB / 1.501 GB, free: 8.621 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/1.597, allocations: 44.52 kB / 1.501 GB, free: 8.578 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/1.597, allocations: 100.3 kB / 1.501 GB, free: 8.48 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.691e-05/1.597, allocations: 55.97 kB / 1.501 GB, free: 8.426 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001227/1.598, allocations: 0.849 MB / 1.502 GB, free: 7.578 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/1.598, allocations: 0 / 1.502 GB, free: 7.578 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001464/1.6, allocations: 432 kB / 1.503 GB, free: 7.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.0005398/1.6, allocations: 254.6 kB / 1.503 GB, free: 6.91 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002214/1.602, allocations: 1.246 MB / 1.504 GB, free: 5.66 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.602, allocations: 0 / 1.504 GB, free: 5.66 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008339/1.603, allocations: 0.5526 MB / 1.505 GB, free: 5.109 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004442/1.608, allocations: 0.9281 MB / 1.505 GB, free: 4.203 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/1.613, allocations: 3.399 MB / 1.509 GB, free: 0.6406 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009882/1.614, allocations: 1.376 MB / 1.51 GB, free: 15.23 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001522/1.616, allocations: 389.3 kB / 1.51 GB, free: 14.84 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/1.616, allocations: 127.4 kB / 1.511 GB, free: 14.72 MB / 1.201 GB Notification: Performance of SimCode: time 5.71e-07/1.616, allocations: 3.938 kB / 1.511 GB, free: 14.72 MB / 1.201 GB Notification: Performance of Templates: time 0.05179/1.668, allocations: 31.18 MB / 1.541 GB, free: 15.91 MB / 1.232 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