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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001489/0.001489, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001744/0.001744, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.495/2.495, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 66.92 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2901, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6888/0.979, allocations: 222.6 MB / 1.244 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01811/0.9971, allocations: 12.12 MB / 1.256 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002773/1, allocations: 71.62 kB / 1.256 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002925/1.003, allocations: 0.8615 MB / 1.257 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007723/1.011, allocations: 2.862 MB / 1.26 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003655/1.014, allocations: 1.437 MB / 1.261 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005837/1.02, allocations: 4.453 MB / 1.265 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002605/1.023, allocations: 1.713 MB / 1.267 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00572/1.029, allocations: 2.471 MB / 1.269 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003324/1.032, allocations: 1.547 MB / 1.271 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005678/1.033, allocations: 180 kB / 1.271 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004699/1.037, allocations: 2.171 MB / 1.273 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001071/1.038, allocations: 0.6973 MB / 1.274 GB, free: 100 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002211/1.041, allocations: 1.05 MB / 1.275 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005764/1.046, allocations: 3.326 MB / 1.278 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.046, allocations: 0 / 1.278 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/1.046, allocations: 0 / 1.278 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.276e-05/1.046, allocations: 0 / 1.278 GB, free: 11.71 MB / 0.9825 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.004774/1.051, allocations: 2.285 MB / 1.28 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/1.051, allocations: 8.031 kB / 1.28 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003274/1.055, allocations: 0.4933 MB / 1.281 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/1.057, allocations: 1.344 MB / 1.282 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-05/1.057, allocations: 110.7 kB / 1.282 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/1.058, allocations: 147.9 kB / 1.283 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002917/1.061, allocations: 1.764 MB / 1.284 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.938e-05/1.061, allocations: 8.875 kB / 1.284 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/1.061, allocations: 60 kB / 1.284 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.707e-05/1.061, allocations: 54.53 kB / 1.284 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/1.063, allocations: 1.399 MB / 1.286 GB, free: 3.805 MB / 0.9825 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.009771/1.073, allocations: 7.277 MB / 1.293 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/1.075, allocations: 1.056 MB / 1.294 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009659/1.076, allocations: 0.6983 MB / 1.295 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/1.076, allocations: 106.1 kB / 1.295 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/1.076, allocations: 63.48 kB / 1.295 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001173/1.077, allocations: 302.7 kB / 1.295 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 6.402e-06/1.077, allocations: 4 kB / 1.295 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112): time 0.008486/1.086, allocations: 4.434 MB / 1.299 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/1.086, allocations: 167.2 kB / 1.299 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/1.088, allocations: 1.263 MB / 1.301 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/1.088, allocations: 53.64 kB / 1.301 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004954/1.088, allocations: 0.6968 MB / 1.301 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/1.089, allocations: 414.3 kB / 1.302 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003969/1.089, allocations: 263.4 kB / 1.302 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.089, allocations: 357.9 kB / 1.302 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008248/1.09, allocations: 0.5271 MB / 1.303 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/1.091, allocations: 0.8556 MB / 1.304 GB, free: 0.5586 MB / 0.9981 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.01153/1.103, allocations: 4.798 MB / 1.308 GB, free: 11.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/1.103, allocations: 4 kB / 1.308 GB, free: 11.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00277/1.105, allocations: 1.62 MB / 1.31 GB, free: 9.969 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/1.105, allocations: 12 kB / 1.31 GB, free: 9.957 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/1.105, allocations: 8 kB / 1.31 GB, free: 9.949 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/1.105, allocations: 16.06 kB / 1.31 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.107, allocations: 295.5 kB / 1.31 GB, free: 9.645 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.928e-05/1.107, allocations: 19.94 kB / 1.31 GB, free: 9.625 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/1.108, allocations: 45.64 kB / 1.31 GB, free: 9.582 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/1.108, allocations: 63.97 kB / 1.31 GB, free: 9.52 MB / 1.014 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.000724/1.109, allocations: 425.3 kB / 1.311 GB, free: 9.098 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004287/1.109, allocations: 162 kB / 1.311 GB, free: 8.938 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/1.112, allocations: 1.302 MB / 1.312 GB, free: 7.617 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/1.112, allocations: 12 kB / 1.312 GB, free: 7.605 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.112, allocations: 3.984 kB / 1.312 GB, free: 7.602 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001623/1.113, allocations: 1.244 MB / 1.314 GB, free: 6.293 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006704/1.12, allocations: 3.754 MB / 1.317 GB, free: 2.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/1.12, allocations: 12 kB / 1.317 GB, free: 2.328 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/1.121, allocations: 251.7 kB / 1.317 GB, free: 2.082 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.528e-05/1.121, allocations: 16 kB / 1.317 GB, free: 2.066 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.754e-05/1.122, allocations: 39.94 kB / 1.318 GB, free: 2.027 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.826e-05/1.122, allocations: 20 kB / 1.318 GB, free: 2.008 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.43e-05/1.122, allocations: 27.86 kB / 1.318 GB, free: 1.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/1.125, allocations: 2.129 MB / 1.32 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008465/1.125, allocations: 359 kB / 1.32 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002855/1.126, allocations: 39.92 kB / 1.32 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.127, allocations: 45.95 kB / 1.32 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/1.127, allocations: 104.3 kB / 1.32 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.757e-05/1.127, allocations: 55.98 kB / 1.32 GB, free: 15.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001183/1.128, allocations: 0.849 MB / 1.321 GB, free: 14.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.128, allocations: 0 / 1.321 GB, free: 14.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001469/1.13, allocations: 432 kB / 1.321 GB, free: 13.82 MB / 1.029 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.0005409/1.13, allocations: 241.8 kB / 1.322 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002057/1.132, allocations: 1.247 MB / 1.323 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/1.132, allocations: 8.188 kB / 1.323 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007665/1.133, allocations: 0.5406 MB / 1.323 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003974/1.137, allocations: 0.9399 MB / 1.324 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005114/1.142, allocations: 3.399 MB / 1.328 GB, free: 7.312 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00099/1.143, allocations: 1.376 MB / 1.329 GB, free: 5.906 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001333/1.145, allocations: 381.3 kB / 1.329 GB, free: 5.527 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/1.145, allocations: 131.4 kB / 1.33 GB, free: 5.398 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/1.145, allocations: 0 / 1.33 GB, free: 5.398 MB / 1.029 GB Notification: Performance of Templates: time 0.04884/1.194, allocations: 30.35 MB / 1.359 GB, free: 7.445 MB / 1.061 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 -s gbode -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