Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.001283/0.001283, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001455/0.001455, allocations: 219 kB / 23.01 MB, free: 4.566 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.764/2.764, allocations: 476.7 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [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.002065/0.002065, allocations: 71.92 kB / 1.119 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3507, allocations: 169.9 MB / 1.285 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2572/0.6079, allocations: 225.5 MB / 1.505 GB, free: 1 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01035/0.6183, allocations: 5.772 MB / 1.51 GB, free: 11.21 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.6199, allocations: 59.5 kB / 1.51 GB, free: 11.16 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.6218, allocations: 0.6098 MB / 1.511 GB, free: 10.54 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005049/0.6268, allocations: 1.946 MB / 1.513 GB, free: 8.59 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.6301, allocations: 1.248 MB / 1.514 GB, free: 7.348 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004712/0.6348, allocations: 3.035 MB / 1.517 GB, free: 4.309 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.6363, allocations: 0.7697 MB / 1.518 GB, free: 3.516 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002486/0.6388, allocations: 1.136 MB / 1.519 GB, free: 2.375 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.6413, allocations: 1.013 MB / 1.52 GB, free: 1.367 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.6415, allocations: 108 kB / 1.52 GB, free: 1.262 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003219/0.6447, allocations: 1.539 MB / 1.522 GB, free: 15.72 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005596/0.6453, allocations: 482.6 kB / 1.522 GB, free: 15.25 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008852/0.6462, allocations: 0.6534 MB / 1.523 GB, free: 14.59 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003529/0.6497, allocations: 2.145 MB / 1.525 GB, free: 12.44 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6497, allocations: 0 / 1.525 GB, free: 12.44 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6497, allocations: 0 / 1.525 GB, free: 12.44 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.6497, allocations: 0 / 1.525 GB, free: 12.44 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002766/0.6525, allocations: 1.469 MB / 1.526 GB, free: 10.93 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.6525, allocations: 12.02 kB / 1.526 GB, free: 10.92 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.6545, allocations: 326.9 kB / 1.527 GB, free: 10.6 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.6561, allocations: 0.7877 MB / 1.527 GB, free: 9.785 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.13e-05/0.6561, allocations: 70 kB / 1.527 GB, free: 9.719 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.6563, allocations: 84 kB / 1.527 GB, free: 9.637 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.658, allocations: 0.9131 MB / 1.528 GB, free: 8.719 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.658, allocations: 3.984 kB / 1.528 GB, free: 8.715 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.885e-05/0.6581, allocations: 36 kB / 1.528 GB, free: 8.68 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/0.6581, allocations: 33.94 kB / 1.528 GB, free: 8.645 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.6596, allocations: 0.8354 MB / 1.529 GB, free: 7.809 MB / 1.232 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.006019/0.6657, allocations: 3.463 MB / 1.533 GB, free: 4.121 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008403/0.6665, allocations: 474 kB / 1.533 GB, free: 3.652 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004779/0.667, allocations: 283.3 kB / 1.533 GB, free: 3.375 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.6672, allocations: 28.41 kB / 1.533 GB, free: 3.348 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.6672, allocations: 50.88 kB / 1.533 GB, free: 3.289 MB / 1.232 GB Notification: Performance of pre-optimization done (n=47): time 2.414e-06/0.6672, allocations: 0 / 1.533 GB, free: 3.289 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.003682/0.6709, allocations: 1.667 MB / 1.535 GB, free: 1.582 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.6709, allocations: 55.84 kB / 1.535 GB, free: 1.516 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.672, allocations: 0.8058 MB / 1.536 GB, free: 0.7031 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/0.6721, allocations: 45.7 kB / 1.536 GB, free: 0.6523 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.6725, allocations: 484.2 kB / 1.536 GB, free: 180 kB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.6726, allocations: 182.5 kB / 1.537 GB, free: 15.99 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.6728, allocations: 110.2 kB / 1.537 GB, free: 15.88 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.673, allocations: 334 kB / 1.537 GB, free: 15.55 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/0.6734, allocations: 241.2 kB / 1.537 GB, free: 15.32 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.674, allocations: 391.2 kB / 1.538 GB, free: 14.88 MB / 1.248 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003768/0.6778, allocations: 1.454 MB / 1.539 GB, free: 13.39 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.6778, allocations: 0 / 1.539 GB, free: 13.39 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001412/0.6792, allocations: 0.799 MB / 1.54 GB, free: 12.58 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.6792, allocations: 4 kB / 1.54 GB, free: 12.58 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.6792, allocations: 4 kB / 1.54 GB, free: 12.57 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.6794, allocations: 70.08 kB / 1.54 GB, free: 12.5 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000682/0.6801, allocations: 151.8 kB / 1.54 GB, free: 12.35 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/0.6828, allocations: 2.926 MB / 1.543 GB, free: 9.191 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008592/0.6837, allocations: 26.05 kB / 1.543 GB, free: 9.168 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.6837, allocations: 20 kB / 1.543 GB, free: 9.148 MB / 1.248 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005502/0.6843, allocations: 308.2 kB / 1.543 GB, free: 8.84 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.6845, allocations: 99.53 kB / 1.543 GB, free: 8.742 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.6847, allocations: 104.7 kB / 1.543 GB, free: 8.637 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.6847, allocations: 4 kB / 1.543 GB, free: 8.633 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6847, allocations: 0 / 1.543 GB, free: 8.633 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001147/0.6858, allocations: 0.8348 MB / 1.544 GB, free: 7.707 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.6889, allocations: 1.763 MB / 1.546 GB, free: 5.852 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.6889, allocations: 4 kB / 1.546 GB, free: 5.848 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006408/0.6896, allocations: 127.8 kB / 1.546 GB, free: 5.723 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.6897, allocations: 37.25 kB / 1.546 GB, free: 5.684 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.6897, allocations: 20 kB / 1.546 GB, free: 5.664 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.6911, allocations: 1.499 MB / 1.548 GB, free: 4.051 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.6911, allocations: 11.88 kB / 1.548 GB, free: 4.039 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.6929, allocations: 1.071 MB / 1.549 GB, free: 2.906 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/0.6934, allocations: 159.3 kB / 1.549 GB, free: 2.75 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.6935, allocations: 12 kB / 1.549 GB, free: 2.738 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006678/0.6941, allocations: 35.91 kB / 1.549 GB, free: 2.703 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.6942, allocations: 43.88 kB / 1.549 GB, free: 2.66 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.6943, allocations: 32.05 kB / 1.549 GB, free: 2.629 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007767/0.6951, allocations: 0.5615 MB / 1.549 GB, free: 2.074 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6951, allocations: 0 / 1.549 GB, free: 2.074 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.000904/0.696, allocations: 279.9 kB / 1.55 GB, free: 1.801 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003519/0.6963, allocations: 179.1 kB / 1.55 GB, free: 1.613 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.6977, allocations: 0.776 MB / 1.551 GB, free: 0.8047 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.6978, allocations: 4.812 kB / 1.551 GB, free: 0.8008 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006093/0.6984, allocations: 399.1 kB / 1.551 GB, free: 408 kB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.7009, allocations: 0.5978 MB / 1.552 GB, free: 15.82 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.7042, allocations: 1.897 MB / 1.554 GB, free: 13.84 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007993/0.705, allocations: 1.088 MB / 1.555 GB, free: 12.72 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.7052, allocations: 71.44 kB / 1.555 GB, free: 12.65 MB / 1.264 GB Notification: Performance of SimCode: time 9.22e-07/0.7052, allocations: 0 / 1.555 GB, free: 12.65 MB / 1.264 GB Notification: Performance of Templates: time 0.6783/1.384, allocations: 22.14 MB / 1.576 GB, free: 281.4 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.Xi[1],volSte.Xi[1] Variables in the result:gain.y,time,volDyn.Xi[1],volDyn.ports[1].m_flow,volSte.Xi[1] [Calling sys.exit(0), Time elapsed: 15.835857500002021]