Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001612/0.001612, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001849/0.001849, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.539/1.539, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.931/2.931, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.88 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8531/0.8551, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2781/1.133, allocations: 220.4 MB / 1.232 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02116/1.154, allocations: 12.21 MB / 1.244 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003606/1.158, allocations: 71.56 kB / 1.244 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002912/1.161, allocations: 0.707 MB / 1.244 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008264/1.169, allocations: 2.711 MB / 1.247 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003825/1.173, allocations: 1.279 MB / 1.248 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.8279/2.001, allocations: 6.074 MB / 1.254 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003759/2.005, allocations: 1.493 MB / 1.256 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008321/2.013, allocations: 2.211 MB / 1.258 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006006/2.019, allocations: 1.596 MB / 1.26 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008573/2.02, allocations: 103.3 kB / 1.26 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008183/2.028, allocations: 2.469 MB / 1.262 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001773/2.03, allocations: 0.6338 MB / 1.263 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003144/2.033, allocations: 0.9632 MB / 1.264 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009973/2.043, allocations: 3.347 MB / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/2.043, allocations: 0 / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/2.043, allocations: 1.094 kB / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001463/2.044, allocations: 4 kB / 1.267 GB, free: 4.699 MB / 0.9981 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.007577/2.051, allocations: 2.272 MB / 1.269 GB, free: 19.63 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/2.051, allocations: 9.906 kB / 1.269 GB, free: 19.63 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003749/2.055, allocations: 0.4958 MB / 1.27 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/2.058, allocations: 1.254 MB / 1.271 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/2.058, allocations: 114.7 kB / 1.271 GB, free: 19.1 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002891/2.059, allocations: 150.2 kB / 1.271 GB, free: 19.1 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003388/2.062, allocations: 1.765 MB / 1.273 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.121e-05/2.062, allocations: 6 kB / 1.273 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/2.062, allocations: 61.75 kB / 1.273 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.721e-05/2.062, allocations: 53.89 kB / 1.273 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/2.065, allocations: 1.4 MB / 1.274 GB, free: 18.76 MB / 1.014 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.01289/2.078, allocations: 7.305 MB / 1.281 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/2.08, allocations: 1.064 MB / 1.282 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/2.081, allocations: 0.6943 MB / 1.283 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/2.081, allocations: 111.2 kB / 1.283 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.139e-05/2.081, allocations: 49.81 kB / 1.283 GB, free: 14.47 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001826/2.083, allocations: 303.2 kB / 1.284 GB, free: 14.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 5.701e-06/2.083, allocations: 2.906 kB / 1.284 GB, free: 14.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.008762/2.092, allocations: 4.42 MB / 1.288 GB, free: 13.05 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/2.092, allocations: 173.4 kB / 1.288 GB, free: 12.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/2.094, allocations: 1.26 MB / 1.289 GB, free: 12.69 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001877/2.094, allocations: 52.02 kB / 1.289 GB, free: 12.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006462/2.095, allocations: 0.698 MB / 1.29 GB, free: 12.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005253/2.095, allocations: 396.9 kB / 1.29 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004737/2.096, allocations: 268.8 kB / 1.291 GB, free: 12.13 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002388/2.096, allocations: 359.6 kB / 1.291 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008949/2.097, allocations: 0.5196 MB / 1.291 GB, free: 11.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/2.098, allocations: 0.8445 MB / 1.292 GB, free: 11.48 MB / 1.014 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.01135/2.109, allocations: 4.744 MB / 1.297 GB, free: 10.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/2.109, allocations: 2.844 kB / 1.297 GB, free: 10.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00277/2.112, allocations: 1.597 MB / 1.298 GB, free: 10.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/2.112, allocations: 10.78 kB / 1.298 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/2.112, allocations: 13.03 kB / 1.299 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.419e-05/2.112, allocations: 15.34 kB / 1.299 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/2.113, allocations: 287.1 kB / 1.299 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.817e-05/2.113, allocations: 24.16 kB / 1.299 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/2.115, allocations: 115.9 kB / 1.299 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/2.116, allocations: 61.61 kB / 1.299 GB, free: 10.61 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.0009806/2.117, allocations: 425.8 kB / 1.299 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/2.117, allocations: 165.7 kB / 1.3 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/2.119, allocations: 1.277 MB / 1.301 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/2.119, allocations: 11.06 kB / 1.301 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/2.119, allocations: 2.344 kB / 1.301 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001486/2.121, allocations: 1.229 MB / 1.302 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006832/2.127, allocations: 3.748 MB / 1.306 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/2.127, allocations: 10.84 kB / 1.306 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/2.128, allocations: 248.2 kB / 1.306 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.558e-05/2.128, allocations: 15.34 kB / 1.306 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.234e-05/2.129, allocations: 33.47 kB / 1.306 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-05/2.129, allocations: 29.33 kB / 1.306 GB, free: 8.949 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/2.129, allocations: 13.75 kB / 1.306 GB, free: 8.949 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/2.132, allocations: 2.105 MB / 1.308 GB, free: 8.309 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/2.133, allocations: 354.6 kB / 1.308 GB, free: 8.133 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004313/2.133, allocations: 42.67 kB / 1.308 GB, free: 8.129 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/2.135, allocations: 92.78 kB / 1.309 GB, free: 8.113 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/2.135, allocations: 104.1 kB / 1.309 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/2.135, allocations: 52 kB / 1.309 GB, free: 8.102 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001773/2.137, allocations: 0.8496 MB / 1.31 GB, free: 7.992 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.11e-07/2.137, allocations: 0 / 1.31 GB, free: 7.992 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002601/2.139, allocations: 434.5 kB / 1.31 GB, free: 7.992 MB / 1.014 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.0007645/2.14, allocations: 243.2 kB / 1.31 GB, free: 7.879 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002436/2.143, allocations: 1.205 MB / 1.311 GB, free: 7.859 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/2.143, allocations: 2.75 kB / 1.311 GB, free: 7.859 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008101/2.144, allocations: 0.5418 MB / 1.312 GB, free: 7.852 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005531/2.149, allocations: 0.8946 MB / 1.313 GB, free: 7.785 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007655/2.157, allocations: 4.01 MB / 1.317 GB, free: 5.523 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001676/2.158, allocations: 1.382 MB / 1.318 GB, free: 4.785 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002642/2.161, allocations: 388.5 kB / 1.318 GB, free: 4.703 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007934/2.162, allocations: 129 kB / 1.318 GB, free: 4.699 MB / 1.014 GB Notification: Performance of SimCode: time 9.72e-07/2.162, allocations: 0 / 1.318 GB, free: 4.699 MB / 1.014 GB Notification: Performance of Templates: time 0.06345/2.225, allocations: 28.88 MB / 1.347 GB, free: 12.8 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches