Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.001638/0.001638, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001839/0.001839, allocations: 220.7 kB / 23 MB, free: 4.914 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.333/3.333, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [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.002119/0.002119, allocations: 63.97 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.378, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2485/0.6265, allocations: 168.3 MB / 1.529 GB, free: 4.602 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.6375, allocations: 5.405 MB / 1.534 GB, free: 15.19 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.6391, allocations: 59.56 kB / 1.534 GB, free: 15.13 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.6411, allocations: 0.5396 MB / 1.535 GB, free: 14.59 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005146/0.6462, allocations: 1.68 MB / 1.537 GB, free: 12.9 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003773/0.65, allocations: 1.226 MB / 1.538 GB, free: 11.68 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004269/0.6543, allocations: 2.557 MB / 1.54 GB, free: 9.113 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.6557, allocations: 0.7122 MB / 1.541 GB, free: 8.383 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.6588, allocations: 1.253 MB / 1.542 GB, free: 7.125 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002307/0.6611, allocations: 0.8389 MB / 1.543 GB, free: 6.289 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.6613, allocations: 100 kB / 1.543 GB, free: 6.191 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.6642, allocations: 1.243 MB / 1.544 GB, free: 4.945 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006533/0.6649, allocations: 0.4986 MB / 1.545 GB, free: 4.445 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007603/0.6657, allocations: 0.5135 MB / 1.545 GB, free: 3.93 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00323/0.6689, allocations: 2.087 MB / 1.547 GB, free: 1.836 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.6689, allocations: 0 / 1.547 GB, free: 1.836 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6689, allocations: 0 / 1.547 GB, free: 1.836 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.753e-05/0.6689, allocations: 3.938 kB / 1.547 GB, free: 1.832 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002504/0.6714, allocations: 1.434 MB / 1.549 GB, free: 368 kB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.6715, allocations: 12.03 kB / 1.549 GB, free: 356 kB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.6734, allocations: 331 kB / 1.549 GB, free: 24 kB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.675, allocations: 0.7479 MB / 1.55 GB, free: 15.25 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.798e-05/0.6751, allocations: 66 kB / 1.55 GB, free: 15.18 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.6752, allocations: 87.98 kB / 1.55 GB, free: 15.1 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.6774, allocations: 1.472 MB / 1.551 GB, free: 13.49 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.6775, allocations: 3.984 kB / 1.551 GB, free: 13.48 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.401e-05/0.6775, allocations: 39.94 kB / 1.551 GB, free: 13.45 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-05/0.6776, allocations: 34 kB / 1.551 GB, free: 13.41 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.6792, allocations: 0.8352 MB / 1.552 GB, free: 12.58 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.005468/0.6847, allocations: 3.06 MB / 1.555 GB, free: 9.434 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006513/0.6854, allocations: 354.6 kB / 1.556 GB, free: 9.078 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.6857, allocations: 204.7 kB / 1.556 GB, free: 8.875 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.6858, allocations: 23.98 kB / 1.556 GB, free: 8.852 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.6859, allocations: 42.56 kB / 1.556 GB, free: 8.801 MB / 1.248 GB Notification: Performance of pre-optimization done (n=36): time 2.425e-06/0.6859, allocations: 0 / 1.556 GB, free: 8.801 MB / 1.248 GB Notification: Performance of matching and sorting (n=38): time 0.002621/0.6885, allocations: 1.242 MB / 1.557 GB, free: 7.523 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.6886, allocations: 63.16 kB / 1.557 GB, free: 7.449 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.6896, allocations: 0.7307 MB / 1.558 GB, free: 6.711 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.6897, allocations: 37.7 kB / 1.558 GB, free: 6.668 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/0.6901, allocations: 0.5191 MB / 1.558 GB, free: 6.141 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.6903, allocations: 142.8 kB / 1.558 GB, free: 6 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.6905, allocations: 130.2 kB / 1.559 GB, free: 5.867 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002267/0.6907, allocations: 378.8 kB / 1.559 GB, free: 5.488 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.6912, allocations: 237.2 kB / 1.559 GB, free: 5.258 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/0.6919, allocations: 472.3 kB / 1.56 GB, free: 4.707 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.002615/0.6945, allocations: 1.146 MB / 1.561 GB, free: 3.48 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6945, allocations: 7.938 kB / 1.561 GB, free: 3.473 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001511/0.6961, allocations: 0.7422 MB / 1.561 GB, free: 2.723 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.6961, allocations: 12.61 kB / 1.561 GB, free: 2.711 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.6961, allocations: 8 kB / 1.561 GB, free: 2.703 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.6961, allocations: 11.94 kB / 1.562 GB, free: 2.691 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005995/0.6967, allocations: 147.8 kB / 1.562 GB, free: 2.547 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.6967, allocations: 11.98 kB / 1.562 GB, free: 2.535 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008333/0.6976, allocations: 55.95 kB / 1.562 GB, free: 2.48 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.6976, allocations: 28 kB / 1.562 GB, free: 2.453 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: 25 * 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 (74): * Single equations (assignments): 74 * 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.000567/0.6982, allocations: 317.4 kB / 1.562 GB, free: 2.133 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.6983, allocations: 79.53 kB / 1.562 GB, free: 2.055 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.6985, allocations: 82.98 kB / 1.562 GB, free: 1.969 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.6985, allocations: 7.938 kB / 1.562 GB, free: 1.961 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.6985, allocations: 3.984 kB / 1.562 GB, free: 1.957 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007854/0.6993, allocations: 0.6714 MB / 1.563 GB, free: 1.199 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.7018, allocations: 1.351 MB / 1.564 GB, free: 15.76 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.7018, allocations: 8.031 kB / 1.564 GB, free: 15.75 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.7022, allocations: 79.91 kB / 1.564 GB, free: 15.68 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.7022, allocations: 4 kB / 1.564 GB, free: 15.67 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.7022, allocations: 19.98 kB / 1.564 GB, free: 15.65 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-05/0.7022, allocations: 7.938 kB / 1.564 GB, free: 15.64 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.7022, allocations: 8 kB / 1.564 GB, free: 15.64 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.7034, allocations: 0.818 MB / 1.565 GB, free: 14.75 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.7038, allocations: 143.5 kB / 1.565 GB, free: 14.61 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.7039, allocations: 15.98 kB / 1.565 GB, free: 14.6 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/0.7045, allocations: 38.14 kB / 1.565 GB, free: 14.56 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.7046, allocations: 35.89 kB / 1.565 GB, free: 14.53 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.318e-05/0.7047, allocations: 31.92 kB / 1.565 GB, free: 14.5 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007899/0.7055, allocations: 0.499 MB / 1.566 GB, free: 14 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.7055, allocations: 0 / 1.566 GB, free: 14 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009183/0.7064, allocations: 247.9 kB / 1.566 GB, free: 13.76 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0003925/0.7068, allocations: 202.8 kB / 1.566 GB, free: 13.55 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.7078, allocations: 488.6 kB / 1.567 GB, free: 13.07 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/0.7078, allocations: 0 / 1.567 GB, free: 13.07 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.7081, allocations: 184.2 kB / 1.567 GB, free: 12.89 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.7101, allocations: 451.5 kB / 1.567 GB, free: 12.46 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003117/0.7132, allocations: 1.878 MB / 1.569 GB, free: 10.5 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006203/0.7139, allocations: 0.4992 MB / 1.57 GB, free: 9.969 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.7141, allocations: 67.44 kB / 1.57 GB, free: 9.902 MB / 1.264 GB Notification: Performance of SimCode: time 9.11e-07/0.7141, allocations: 4 kB / 1.57 GB, free: 9.898 MB / 1.264 GB Notification: Performance of Templates: time 0.02527/0.7394, allocations: 14.4 MB / 1.584 GB, free: 11.59 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.35811859415844]