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.001738/0.001738, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.002174/0.002174, allocations: 209.9 kB / 22.99 MB, free: 4.957 MB / 14.72 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.444/3.444, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 62.47 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4146, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2602/0.6748, allocations: 197.4 MB / 1.52 GB, free: 10.84 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02002/0.6949, allocations: 11.36 MB / 1.531 GB, free: 15.45 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003115/0.698, allocations: 103.1 kB / 1.531 GB, free: 15.35 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003252/0.7012, allocations: 0.8382 MB / 1.532 GB, free: 14.51 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01113/0.7124, allocations: 2.995 MB / 1.535 GB, free: 11.5 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.005559/0.7179, allocations: 1.486 MB / 1.536 GB, free: 10.02 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.007896/0.7258, allocations: 4.575 MB / 1.541 GB, free: 5.434 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003871/0.7297, allocations: 1.362 MB / 1.542 GB, free: 4.027 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009761/0.7394, allocations: 2.836 MB / 1.545 GB, free: 1.188 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004048/0.7435, allocations: 1.649 MB / 1.546 GB, free: 15.55 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004632/0.744, allocations: 180 kB / 1.547 GB, free: 15.38 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005013/0.749, allocations: 1.796 MB / 1.548 GB, free: 13.57 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.75, allocations: 0.7361 MB / 1.549 GB, free: 12.84 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.7518, allocations: 0.8712 MB / 1.55 GB, free: 11.96 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.007589/0.7593, allocations: 3.297 MB / 1.553 GB, free: 8.652 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.7594, allocations: 0 / 1.553 GB, free: 8.652 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7594, allocations: 0 / 1.553 GB, free: 8.652 MB / 1.248 GB Notification: Performance of Transformations before backend: time 7.536e-05/0.7594, allocations: 0 / 1.553 GB, free: 8.652 MB / 1.248 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.005119/0.7646, allocations: 2.253 MB / 1.555 GB, free: 6.359 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.7646, allocations: 12.03 kB / 1.555 GB, free: 6.348 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/0.7681, allocations: 0.5061 MB / 1.556 GB, free: 5.84 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/0.7715, allocations: 1.258 MB / 1.557 GB, free: 4.527 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.7716, allocations: 110.8 kB / 1.557 GB, free: 4.418 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000299/0.7719, allocations: 148 kB / 1.557 GB, free: 4.273 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00376/0.7757, allocations: 2.162 MB / 1.559 GB, free: 1.91 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.456e-05/0.7757, allocations: 3.953 kB / 1.559 GB, free: 1.906 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.7759, allocations: 60 kB / 1.56 GB, free: 1.848 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-05/0.7759, allocations: 54.55 kB / 1.56 GB, free: 1.793 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002579/0.7785, allocations: 1.419 MB / 1.561 GB, free: 376 kB / 1.248 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.01123/0.7898, allocations: 5.666 MB / 1.566 GB, free: 10.57 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.7918, allocations: 1.017 MB / 1.567 GB, free: 9.504 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.7929, allocations: 0.6637 MB / 1.568 GB, free: 8.824 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.7931, allocations: 40.92 kB / 1.568 GB, free: 8.785 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.033e-05/0.7932, allocations: 51.56 kB / 1.568 GB, free: 8.723 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00183/0.795, allocations: 323.3 kB / 1.569 GB, free: 8.406 MB / 1.264 GB Notification: Performance of pre-optimization done (n=106): time 4.599e-06/0.795, allocations: 0 / 1.569 GB, free: 8.406 MB / 1.264 GB Notification: Performance of matching and sorting (n=112): time 0.0095/0.8045, allocations: 4.368 MB / 1.573 GB, free: 4.004 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.8047, allocations: 171.2 kB / 1.573 GB, free: 3.801 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.8063, allocations: 1.008 MB / 1.574 GB, free: 2.781 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.8064, allocations: 49.7 kB / 1.574 GB, free: 2.727 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007498/0.8072, allocations: 0.7434 MB / 1.575 GB, free: 1.973 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005938/0.8078, allocations: 424.3 kB / 1.575 GB, free: 1.555 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004491/0.8082, allocations: 246.8 kB / 1.575 GB, free: 1.309 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.8084, allocations: 361.9 kB / 1.576 GB, free: 0.9492 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009172/0.8094, allocations: 0.514 MB / 1.576 GB, free: 444 kB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.8107, allocations: 1.021 MB / 1.577 GB, free: 15.24 MB / 1.279 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.01318/0.8239, allocations: 4.496 MB / 1.582 GB, free: 10.64 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.8239, allocations: 4 kB / 1.582 GB, free: 10.64 MB / 1.279 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003049/0.8269, allocations: 1.57 MB / 1.583 GB, free: 9.062 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.827, allocations: 9.875 kB / 1.583 GB, free: 9.055 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.827, allocations: 8 kB / 1.583 GB, free: 9.047 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.78e-05/0.827, allocations: 16 kB / 1.583 GB, free: 9.031 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.8283, allocations: 287.5 kB / 1.583 GB, free: 8.75 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-05/0.8284, allocations: 12 kB / 1.583 GB, free: 8.738 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.8299, allocations: 52.41 kB / 1.583 GB, free: 8.688 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.83, allocations: 59.98 kB / 1.584 GB, free: 8.629 MB / 1.279 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.001124/0.8311, allocations: 422.8 kB / 1.584 GB, free: 8.207 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004347/0.8316, allocations: 151.1 kB / 1.584 GB, free: 8.059 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/0.834, allocations: 1.273 MB / 1.585 GB, free: 6.773 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.834, allocations: 16.03 kB / 1.585 GB, free: 6.758 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.834, allocations: 0 / 1.585 GB, free: 6.758 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001723/0.8357, allocations: 1.241 MB / 1.587 GB, free: 5.445 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006608/0.8423, allocations: 3.354 MB / 1.59 GB, free: 1.926 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.8423, allocations: 12.06 kB / 1.59 GB, free: 1.914 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.8436, allocations: 247.6 kB / 1.59 GB, free: 1.672 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.246e-05/0.8436, allocations: 12 kB / 1.59 GB, free: 1.66 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.634e-05/0.8437, allocations: 39.98 kB / 1.59 GB, free: 1.621 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.141e-05/0.8437, allocations: 19.94 kB / 1.59 GB, free: 1.602 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-05/0.8437, allocations: 23.86 kB / 1.59 GB, free: 1.578 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/0.8473, allocations: 2.104 MB / 1.592 GB, free: 15.34 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/0.8485, allocations: 263 kB / 1.592 GB, free: 15.08 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.8488, allocations: 35.98 kB / 1.593 GB, free: 15.04 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.8499, allocations: 47.94 kB / 1.593 GB, free: 15 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.8501, allocations: 104.2 kB / 1.593 GB, free: 14.89 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.8502, allocations: 55.98 kB / 1.593 GB, free: 14.84 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001157/0.8514, allocations: 0.6664 MB / 1.593 GB, free: 14.17 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8514, allocations: 3.938 kB / 1.593 GB, free: 14.16 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001962/0.8534, allocations: 420 kB / 1.594 GB, free: 13.75 MB / 1.295 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.0006247/0.854, allocations: 218.9 kB / 1.594 GB, free: 13.53 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002573/0.8566, allocations: 1.173 MB / 1.595 GB, free: 12.35 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.8566, allocations: 1.812 kB / 1.595 GB, free: 12.35 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009306/0.8575, allocations: 0.5352 MB / 1.596 GB, free: 11.82 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003993/0.8615, allocations: 0.7782 MB / 1.596 GB, free: 11.06 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006735/0.8682, allocations: 3.417 MB / 1.6 GB, free: 7.473 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.8694, allocations: 0.7877 MB / 1.601 GB, free: 6.652 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001718/0.8711, allocations: 359.3 kB / 1.601 GB, free: 6.297 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004452/0.8715, allocations: 111.4 kB / 1.601 GB, free: 6.188 MB / 1.295 GB Notification: Performance of SimCode: time 2.405e-06/0.8715, allocations: 0 / 1.601 GB, free: 6.188 MB / 1.295 GB Notification: Performance of Templates: time 0.954/1.826, allocations: 30.49 MB / 1.631 GB, free: 272.7 MB / 1.295 GB " [Timeout remaining time 298] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 12.103086000002804]