Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.001801/0.001801, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002333/0.002333, allocations: 215.2 kB / 23.04 MB, free: 4.867 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.156/3.156, allocations: 0.49 GB / 0.7959 GB, free: 35.31 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.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") [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.001966/0.001966, allocations: 64.19 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3537, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2436/0.5973, allocations: 196.8 MB / 1.519 GB, free: 11.4 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02079/0.6181, allocations: 12.83 MB / 1.532 GB, free: 14.54 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003849/0.6219, allocations: 91.25 kB / 1.532 GB, free: 14.45 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00395/0.6259, allocations: 0.7958 MB / 1.533 GB, free: 13.65 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008526/0.6344, allocations: 2.232 MB / 1.535 GB, free: 11.41 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003766/0.6382, allocations: 1.201 MB / 1.536 GB, free: 10.21 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004995/0.6432, allocations: 2.931 MB / 1.539 GB, free: 7.277 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.6447, allocations: 0.9099 MB / 1.54 GB, free: 6.34 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007239/0.652, allocations: 2.683 MB / 1.543 GB, free: 3.652 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/0.6547, allocations: 1.036 MB / 1.544 GB, free: 2.629 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003011/0.655, allocations: 100 kB / 1.544 GB, free: 2.531 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/0.6581, allocations: 1.297 MB / 1.545 GB, free: 1.23 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000562/0.6586, allocations: 450.5 kB / 1.545 GB, free: 0.7891 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009084/0.6595, allocations: 0.5598 MB / 1.546 GB, free: 232 kB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003466/0.663, allocations: 2.051 MB / 1.548 GB, free: 14.17 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.663, allocations: 4 kB / 1.548 GB, free: 14.16 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.044e-06/0.663, allocations: 0 / 1.548 GB, free: 14.16 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.209e-05/0.663, allocations: 0 / 1.548 GB, free: 14.16 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002774/0.6658, allocations: 1.606 MB / 1.549 GB, free: 12.52 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.6659, allocations: 12.03 kB / 1.549 GB, free: 12.51 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/0.6682, allocations: 438.7 kB / 1.55 GB, free: 12.08 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.6699, allocations: 0.8809 MB / 1.551 GB, free: 11.16 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.521e-05/0.6699, allocations: 66 kB / 1.551 GB, free: 11.1 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.6701, allocations: 88 kB / 1.551 GB, free: 11.01 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.6723, allocations: 1.31 MB / 1.552 GB, free: 9.562 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.6723, allocations: 7.938 kB / 1.552 GB, free: 9.555 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.914e-05/0.6724, allocations: 40 kB / 1.552 GB, free: 9.516 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.066e-05/0.6725, allocations: 41.23 kB / 1.552 GB, free: 9.477 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.6745, allocations: 0.8713 MB / 1.553 GB, free: 8.605 MB / 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.007046/0.6815, allocations: 5.175 MB / 1.558 GB, free: 3.246 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.682, allocations: 247.7 kB / 1.558 GB, free: 2.949 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.6822, allocations: 145.1 kB / 1.559 GB, free: 2.789 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.6823, allocations: 19.98 kB / 1.559 GB, free: 2.77 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.6824, allocations: 46.5 kB / 1.559 GB, free: 2.715 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007352/0.6831, allocations: 103.6 kB / 1.559 GB, free: 2.613 MB / 1.248 GB Notification: Performance of pre-optimization done (n=20): time 2.415e-06/0.6831, allocations: 4 kB / 1.559 GB, free: 2.609 MB / 1.248 GB Notification: Performance of matching and sorting (n=20): time 0.0009664/0.6841, allocations: 409 kB / 1.559 GB, free: 2.203 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.6842, allocations: 195.8 kB / 1.559 GB, free: 1.969 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.6858, allocations: 1.036 MB / 1.56 GB, free: 0.9141 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.6859, allocations: 37.7 kB / 1.56 GB, free: 0.8711 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005219/0.6864, allocations: 0.6591 MB / 1.561 GB, free: 208 kB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 8.33e-05/0.6865, allocations: 83.36 kB / 1.561 GB, free: 124 kB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.6867, allocations: 142.2 kB / 1.561 GB, free: 15.98 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.6869, allocations: 329.9 kB / 1.561 GB, free: 15.65 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006605/0.6876, allocations: 241.1 kB / 1.562 GB, free: 15.41 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.6886, allocations: 0.7285 MB / 1.562 GB, free: 14.49 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.6898, allocations: 0.6918 MB / 1.563 GB, free: 13.66 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.6898, allocations: 4 kB / 1.563 GB, free: 13.66 MB / 1.264 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001978/0.6918, allocations: 0.8338 MB / 1.564 GB, free: 12.82 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.6918, allocations: 8 kB / 1.564 GB, free: 12.81 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.6918, allocations: 16.83 kB / 1.564 GB, free: 12.79 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.6918, allocations: 12 kB / 1.564 GB, free: 12.78 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/0.6925, allocations: 167.8 kB / 1.564 GB, free: 12.62 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.653e-05/0.6926, allocations: 27.86 kB / 1.564 GB, free: 12.59 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.6938, allocations: 123.9 kB / 1.564 GB, free: 12.47 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.87e-05/0.6939, allocations: 39.98 kB / 1.564 GB, free: 12.43 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0005074/0.6944, allocations: 301.5 kB / 1.565 GB, free: 12.12 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.6946, allocations: 99.34 kB / 1.565 GB, free: 12.03 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/0.6951, allocations: 277.2 kB / 1.565 GB, free: 11.75 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.6951, allocations: 4 kB / 1.565 GB, free: 11.74 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.6951, allocations: 0 / 1.565 GB, free: 11.74 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6951, allocations: 4 kB / 1.565 GB, free: 11.74 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.6972, allocations: 1.458 MB / 1.566 GB, free: 10.2 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.6973, allocations: 4 kB / 1.566 GB, free: 10.2 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.6975, allocations: 39.98 kB / 1.566 GB, free: 10.16 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.6975, allocations: 4 kB / 1.566 GB, free: 10.16 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.6975, allocations: 11.94 kB / 1.566 GB, free: 10.14 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.6975, allocations: 7.938 kB / 1.566 GB, free: 10.14 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.6975, allocations: 4 kB / 1.566 GB, free: 10.13 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.6981, allocations: 473.9 kB / 1.567 GB, free: 9.617 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/0.6984, allocations: 147.2 kB / 1.567 GB, free: 9.473 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.874e-05/0.6985, allocations: 4 kB / 1.567 GB, free: 9.469 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005785/0.699, allocations: 43.95 kB / 1.567 GB, free: 9.426 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.6991, allocations: 27.84 kB / 1.567 GB, free: 9.398 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.6991, allocations: 12 kB / 1.567 GB, free: 9.387 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00122/0.7003, allocations: 0.7134 MB / 1.568 GB, free: 8.664 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.7003, allocations: 0 / 1.568 GB, free: 8.664 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001018/0.7013, allocations: 307.2 kB / 1.568 GB, free: 8.363 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * 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 (20): * Single equations (assignments): 20 * 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.0003745/0.7017, allocations: 211 kB / 1.568 GB, free: 8.152 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.7028, allocations: 439.5 kB / 1.569 GB, free: 7.727 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7028, allocations: 192 / 1.569 GB, free: 7.727 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.7029, allocations: 99.77 kB / 1.569 GB, free: 7.629 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.7048, allocations: 433.7 kB / 1.569 GB, free: 7.219 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.7077, allocations: 1.769 MB / 1.571 GB, free: 5.375 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/0.7083, allocations: 0.5229 MB / 1.571 GB, free: 4.816 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.7085, allocations: 67.42 kB / 1.572 GB, free: 4.75 MB / 1.264 GB Notification: Performance of SimCode: time 1.292e-06/0.7085, allocations: 0 / 1.572 GB, free: 4.75 MB / 1.264 GB Notification: Performance of Templates: time 0.02374/0.7322, allocations: 15.91 MB / 1.587 GB, free: 4.973 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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: 14.261408230988309]