Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001437/0.001437, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001772/0.001772, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.816 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.414/3.414, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [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.002202/0.002202, allocations: 70.86 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4782/0.4804, allocations: 176.1 MB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2537/0.734, allocations: 165.6 MB / 1.487 GB, free: 11.55 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01853/0.7526, allocations: 12.02 MB / 1.499 GB, free: 15.49 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.7542, allocations: 43.62 kB / 1.499 GB, free: 15.45 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.7558, allocations: 421.2 kB / 1.5 GB, free: 15.03 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003727/0.7595, allocations: 1.213 MB / 1.501 GB, free: 13.81 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.7616, allocations: 0.7215 MB / 1.501 GB, free: 13.09 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003246/0.7649, allocations: 2.042 MB / 1.503 GB, free: 11.05 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.766, allocations: 0.6137 MB / 1.504 GB, free: 10.41 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005463/0.7715, allocations: 1.997 MB / 1.506 GB, free: 8.402 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/0.7735, allocations: 0.6684 MB / 1.507 GB, free: 7.738 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.7736, allocations: 80 kB / 1.507 GB, free: 7.66 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.7756, allocations: 0.7208 MB / 1.507 GB, free: 6.938 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000516/0.7761, allocations: 398.9 kB / 1.508 GB, free: 6.547 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000644/0.7768, allocations: 418.1 kB / 1.508 GB, free: 6.137 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.7793, allocations: 1.495 MB / 1.51 GB, free: 4.637 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7793, allocations: 0 / 1.51 GB, free: 4.637 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7793, allocations: 0 / 1.51 GB, free: 4.637 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.7793, allocations: 0 / 1.51 GB, free: 4.637 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002157/0.7815, allocations: 1.182 MB / 1.511 GB, free: 3.422 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.7815, allocations: 12.03 kB / 1.511 GB, free: 3.41 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.7828, allocations: 215.2 kB / 1.511 GB, free: 3.199 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.7841, allocations: 0.6233 MB / 1.512 GB, free: 2.547 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.7842, allocations: 58 kB / 1.512 GB, free: 2.492 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.7843, allocations: 79.95 kB / 1.512 GB, free: 2.414 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.7859, allocations: 1.054 MB / 1.513 GB, free: 1.242 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.786, allocations: 4 kB / 1.513 GB, free: 1.238 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-05/0.786, allocations: 35.94 kB / 1.513 GB, free: 1.203 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.133e-05/0.7861, allocations: 29.3 kB / 1.513 GB, free: 1.176 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.7871, allocations: 0.6216 MB / 1.513 GB, free: 0.5547 MB / 1.201 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.004471/0.7916, allocations: 3.578 MB / 1.517 GB, free: 12.84 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008743/0.7925, allocations: 458 kB / 1.517 GB, free: 12.37 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.7928, allocations: 232.4 kB / 1.518 GB, free: 12.14 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.793, allocations: 31.92 kB / 1.518 GB, free: 12.11 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/0.7931, allocations: 38.56 kB / 1.518 GB, free: 12.06 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.385e-06/0.7931, allocations: 0 / 1.518 GB, free: 12.06 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.00296/0.796, allocations: 1.543 MB / 1.519 GB, free: 10.48 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.7961, allocations: 106.8 kB / 1.519 GB, free: 10.35 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006712/0.7968, allocations: 0.5419 MB / 1.52 GB, free: 9.805 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.7968, allocations: 37.7 kB / 1.52 GB, free: 9.762 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.7972, allocations: 428.1 kB / 1.52 GB, free: 9.336 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.7974, allocations: 178.5 kB / 1.52 GB, free: 9.16 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.7976, allocations: 118.3 kB / 1.521 GB, free: 9.039 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.7978, allocations: 370.8 kB / 1.521 GB, free: 8.668 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.7981, allocations: 189.2 kB / 1.521 GB, free: 8.484 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.7987, allocations: 0.5734 MB / 1.522 GB, free: 7.777 MB / 1.217 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/0.801, allocations: 1.101 MB / 1.523 GB, free: 6.59 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.801, allocations: 4 kB / 1.523 GB, free: 6.586 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001038/0.8021, allocations: 0.6645 MB / 1.523 GB, free: 5.914 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.8021, allocations: 8.094 kB / 1.523 GB, free: 5.906 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.8021, allocations: 11.94 kB / 1.523 GB, free: 5.895 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.8021, allocations: 12 kB / 1.523 GB, free: 5.883 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004822/0.8026, allocations: 123.8 kB / 1.523 GB, free: 5.762 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.8026, allocations: 11.94 kB / 1.523 GB, free: 5.75 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.8032, allocations: 23.98 kB / 1.524 GB, free: 5.727 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.8032, allocations: 28 kB / 1.524 GB, free: 5.699 MB / 1.217 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0004711/0.8037, allocations: 277.5 kB / 1.524 GB, free: 5.418 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.8038, allocations: 67.58 kB / 1.524 GB, free: 5.352 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.804, allocations: 82.19 kB / 1.524 GB, free: 5.273 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.804, allocations: 4 kB / 1.524 GB, free: 5.27 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.804, allocations: 4 kB / 1.524 GB, free: 5.266 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008223/0.8048, allocations: 0.7041 MB / 1.525 GB, free: 4.477 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/0.8073, allocations: 1.435 MB / 1.526 GB, free: 2.953 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.8073, allocations: 4 kB / 1.526 GB, free: 2.949 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.8078, allocations: 95.89 kB / 1.526 GB, free: 2.855 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.8078, allocations: 7.938 kB / 1.526 GB, free: 2.848 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.8078, allocations: 19.98 kB / 1.526 GB, free: 2.828 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/0.8078, allocations: 11.94 kB / 1.526 GB, free: 2.816 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.8078, allocations: 4 kB / 1.526 GB, free: 2.812 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.809, allocations: 0.8537 MB / 1.527 GB, free: 1.891 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.8093, allocations: 115.6 kB / 1.527 GB, free: 1.777 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.8094, allocations: 8 kB / 1.527 GB, free: 1.77 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.8098, allocations: 31.86 kB / 1.527 GB, free: 1.738 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.8098, allocations: 31.89 kB / 1.527 GB, free: 1.707 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.8099, allocations: 27.92 kB / 1.527 GB, free: 1.68 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004833/0.8104, allocations: 362.8 kB / 1.528 GB, free: 1.328 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8104, allocations: 0 / 1.528 GB, free: 1.328 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008113/0.8112, allocations: 199.9 kB / 1.528 GB, free: 1.133 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.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 (45): * Single equations (assignments): 45 * 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.0005214/0.8117, allocations: 201.1 kB / 1.528 GB, free: 0.9336 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008118/0.8125, allocations: 457 kB / 1.528 GB, free: 500 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.8125, allocations: 4.438 kB / 1.528 GB, free: 496 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.8128, allocations: 203.9 kB / 1.529 GB, free: 292 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.8143, allocations: 337.8 kB / 1.529 GB, free: 15.96 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.8171, allocations: 1.648 MB / 1.531 GB, free: 14.23 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.8177, allocations: 432.2 kB / 1.531 GB, free: 13.79 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.0005719/0.8182, allocations: 173.3 kB / 1.531 GB, free: 13.61 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.8184, allocations: 51.44 kB / 1.531 GB, free: 13.56 MB / 1.233 GB Notification: Performance of SimCode: time 9.31e-07/0.8184, allocations: 0 / 1.531 GB, free: 13.56 MB / 1.233 GB Notification: Performance of Templates: time 0.02474/0.8431, allocations: 13.14 MB / 1.544 GB, free: 0.75 MB / 1.233 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.58226122520864]