Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002549/0.002549, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002901/0.002901, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.606/1.606, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.11/3.11, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0.6562 kB / 0.8108 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.089e-05, allocations: 7.031 kB / 0.8109 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.3275/0.3275, allocations: 220.6 MB / 1.026 GB, free: 3.625 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5803/0.9078, allocations: 12.43 MB / 1.038 GB, free: 19.71 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003387/0.9111, allocations: 102.8 kB / 1.039 GB, free: 19.71 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.002873/0.914, allocations: 0.8509 MB / 1.039 GB, free: 19.71 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.9241, allocations: 3.067 MB / 1.042 GB, free: 19.62 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.004606/0.9287, allocations: 1.516 MB / 1.044 GB, free: 19.6 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.009172/0.9378, allocations: 4.573 MB / 1.048 GB, free: 19.33 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002964/0.9408, allocations: 1.409 MB / 1.05 GB, free: 19.17 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01233/0.9531, allocations: 3.389 MB / 1.053 GB, free: 18.84 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004822/0.958, allocations: 1.498 MB / 1.054 GB, free: 18.7 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0006444/0.9586, allocations: 181.8 kB / 1.055 GB, free: 18.7 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005416/0.964, allocations: 1.817 MB / 1.056 GB, free: 18.5 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0009995/0.965, allocations: 0.7747 MB / 1.057 GB, free: 18.41 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001961/0.967, allocations: 0.7424 MB / 1.058 GB, free: 18.32 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.008005/0.975, allocations: 3.415 MB / 1.061 GB, free: 18.02 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.975, allocations: 0 / 1.061 GB, free: 18.02 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.553e-06/0.975, allocations: 0 / 1.061 GB, free: 18.02 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.701e-05/0.9751, allocations: 2.344 kB / 1.061 GB, free: 18.02 MB / 0.9323 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.005322/0.9804, allocations: 2.481 MB / 1.064 GB, free: 16.88 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.9804, allocations: 10.47 kB / 1.064 GB, free: 16.88 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.9838, allocations: 0.6591 MB / 1.064 GB, free: 16.73 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002708/0.9865, allocations: 1.288 MB / 1.066 GB, free: 16.34 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.013e-05/0.9866, allocations: 112.5 kB / 1.066 GB, free: 16.34 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/0.9868, allocations: 162 kB / 1.066 GB, free: 16.33 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/0.9895, allocations: 2.047 MB / 1.068 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/0.9895, allocations: 3.094 kB / 1.068 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.9896, allocations: 63.75 kB / 1.068 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-05/0.9897, allocations: 52.33 kB / 1.068 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.9915, allocations: 1.065 MB / 1.069 GB, free: 15.43 MB / 0.9323 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.008634/1, allocations: 7.377 MB / 1.076 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/1.001, allocations: 0.8695 MB / 1.077 GB, free: 11.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000721/1.002, allocations: 0.5124 MB / 1.078 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/1.002, allocations: 41.78 kB / 1.078 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/1.002, allocations: 57.95 kB / 1.078 GB, free: 10.99 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001468/1.004, allocations: 306.4 kB / 1.078 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=106): time 5.089e-06/1.004, allocations: 0 / 1.078 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of matching and sorting (n=112): time 0.0076/1.012, allocations: 3.821 MB / 1.082 GB, free: 9.668 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/1.012, allocations: 172.5 kB / 1.082 GB, free: 9.48 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/1.013, allocations: 1.212 MB / 1.083 GB, free: 9.262 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/1.013, allocations: 50.77 kB / 1.083 GB, free: 9.23 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005104/1.014, allocations: 0.8469 MB / 1.084 GB, free: 8.855 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00036/1.014, allocations: 449.5 kB / 1.084 GB, free: 8.59 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004044/1.014, allocations: 296.8 kB / 1.085 GB, free: 8.559 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.015, allocations: 0.565 MB / 1.085 GB, free: 8.078 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/1.015, allocations: 364.8 kB / 1.085 GB, free: 8.074 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009059/1.016, allocations: 0.9967 MB / 1.086 GB, free: 7.375 MB / 0.9323 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.00999/1.026, allocations: 3.735 MB / 1.09 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/1.026, allocations: 4.312 kB / 1.09 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002491/1.029, allocations: 1.323 MB / 1.091 GB, free: 6.762 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/1.029, allocations: 9.375 kB / 1.091 GB, free: 6.762 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.029, allocations: 8.594 kB / 1.091 GB, free: 6.762 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.788e-05/1.029, allocations: 19.88 kB / 1.091 GB, free: 6.758 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/1.03, allocations: 283.9 kB / 1.092 GB, free: 6.758 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.641e-05/1.03, allocations: 20.22 kB / 1.092 GB, free: 6.758 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/1.031, allocations: 46.58 kB / 1.092 GB, free: 6.758 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/1.031, allocations: 58.62 kB / 1.092 GB, free: 6.758 MB / 0.9323 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 (163): * Single equations (assignments): 163 * 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.0007831/1.032, allocations: 375.3 kB / 1.092 GB, free: 6.586 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004021/1.033, allocations: 188.2 kB / 1.092 GB, free: 6.508 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/1.034, allocations: 1.042 MB / 1.093 GB, free: 6.422 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/1.034, allocations: 16.16 kB / 1.093 GB, free: 6.418 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.034, allocations: 0 / 1.093 GB, free: 6.418 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001222/1.036, allocations: 1.013 MB / 1.094 GB, free: 6.055 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005739/1.041, allocations: 3.69 MB / 1.098 GB, free: 4.719 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/1.041, allocations: 9.875 kB / 1.098 GB, free: 4.719 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/1.042, allocations: 246 kB / 1.098 GB, free: 4.719 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/1.042, allocations: 19.62 kB / 1.098 GB, free: 4.715 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.379e-05/1.043, allocations: 37.34 kB / 1.098 GB, free: 4.715 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.626e-05/1.043, allocations: 21.89 kB / 1.098 GB, free: 4.715 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/1.043, allocations: 15.28 kB / 1.098 GB, free: 4.715 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/1.045, allocations: 1.931 MB / 1.1 GB, free: 3.879 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009287/1.046, allocations: 261.6 kB / 1.1 GB, free: 3.797 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/1.047, allocations: 38.12 kB / 1.1 GB, free: 3.797 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.048, allocations: 45.25 kB / 1.101 GB, free: 3.797 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/1.048, allocations: 101.4 kB / 1.101 GB, free: 3.789 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.469e-05/1.048, allocations: 52.41 kB / 1.101 GB, free: 3.789 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001077/1.049, allocations: 0.7041 MB / 1.101 GB, free: 3.637 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/1.049, allocations: 1 kB / 1.101 GB, free: 3.637 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001811/1.051, allocations: 434.4 kB / 1.102 GB, free: 3.633 MB / 0.9323 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.0004347/1.051, allocations: 231.3 kB / 1.102 GB, free: 3.531 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001852/1.053, allocations: 0.9909 MB / 1.103 GB, free: 3.488 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/1.053, allocations: 4 kB / 1.103 GB, free: 3.488 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000687/1.054, allocations: 478 kB / 1.103 GB, free: 3.477 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/1.058, allocations: 0.7946 MB / 1.104 GB, free: 3.383 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/1.062, allocations: 3.218 MB / 1.107 GB, free: 1.672 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/1.063, allocations: 0.7637 MB / 1.108 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001545/1.065, allocations: 302.8 kB / 1.108 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/1.065, allocations: 117.5 kB / 1.108 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of SimCode: time 1.813e-06/1.065, allocations: 0 / 1.108 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of Templates: time 0.05053/1.116, allocations: 27.96 MB / 1.136 GB, free: 8.406 MB / 0.948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.422499469015747]