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.001551/0.001551, 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.001759/0.001759, allocations: 217.8 kB / 23.04 MB, free: 4.863 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.392/1.392, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.072/3.072, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] 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.002037/0.002037, allocations: 67.58 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3505, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2064/0.5569, allocations: 165.6 MB / 1.489 GB, free: 10.65 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01659/0.5735, allocations: 12.02 MB / 1.501 GB, free: 14.59 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.5746, allocations: 43.62 kB / 1.501 GB, free: 14.55 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.5759, allocations: 425.2 kB / 1.501 GB, free: 14.13 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.5789, allocations: 1.207 MB / 1.502 GB, free: 12.92 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.5807, allocations: 0.7344 MB / 1.503 GB, free: 12.19 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002774/0.5835, allocations: 2.031 MB / 1.505 GB, free: 10.15 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009605/0.5845, allocations: 0.6137 MB / 1.506 GB, free: 9.512 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004416/0.5889, allocations: 2.001 MB / 1.508 GB, free: 7.504 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.5906, allocations: 0.6729 MB / 1.508 GB, free: 6.836 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.5907, allocations: 80 kB / 1.508 GB, free: 6.758 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.5923, allocations: 0.7247 MB / 1.509 GB, free: 6.031 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004502/0.5927, allocations: 390.9 kB / 1.509 GB, free: 5.648 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005629/0.5933, allocations: 426.1 kB / 1.51 GB, free: 5.23 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.5955, allocations: 1.487 MB / 1.511 GB, free: 3.738 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5955, allocations: 3.938 kB / 1.511 GB, free: 3.734 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5955, allocations: 0 / 1.511 GB, free: 3.734 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.5956, allocations: 4 kB / 1.511 GB, free: 3.73 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.001996/0.5976, allocations: 1.186 MB / 1.512 GB, free: 2.512 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.5976, allocations: 8.031 kB / 1.512 GB, free: 2.504 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.5988, allocations: 223.1 kB / 1.513 GB, free: 2.285 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.6, allocations: 0.6116 MB / 1.513 GB, free: 1.645 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.527e-05/0.6001, allocations: 58 kB / 1.513 GB, free: 1.59 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.6002, allocations: 83.94 kB / 1.513 GB, free: 1.508 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.6018, allocations: 1.058 MB / 1.514 GB, free: 340 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.6018, allocations: 4 kB / 1.514 GB, free: 336 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.35e-05/0.6019, allocations: 35.94 kB / 1.514 GB, free: 300 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.6019, allocations: 25.31 kB / 1.514 GB, free: 276 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.6029, allocations: 0.6216 MB / 1.515 GB, free: 15.65 MB / 1.217 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.004245/0.6072, allocations: 3.576 MB / 1.519 GB, free: 11.94 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008205/0.608, allocations: 459.9 kB / 1.519 GB, free: 11.46 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.6084, allocations: 232.3 kB / 1.519 GB, free: 11.23 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.6085, allocations: 31.92 kB / 1.519 GB, free: 11.2 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.6086, allocations: 38.56 kB / 1.519 GB, free: 11.15 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.395e-06/0.6086, allocations: 0 / 1.519 GB, free: 11.15 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.002923/0.6115, allocations: 1.539 MB / 1.521 GB, free: 9.578 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.6115, allocations: 110.8 kB / 1.521 GB, free: 9.445 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006754/0.6122, allocations: 0.5381 MB / 1.521 GB, free: 8.902 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.6123, allocations: 37.7 kB / 1.521 GB, free: 8.859 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.6126, allocations: 436 kB / 1.522 GB, free: 8.426 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.6128, allocations: 178.5 kB / 1.522 GB, free: 8.25 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.613, allocations: 118.3 kB / 1.522 GB, free: 8.129 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.6132, allocations: 370.8 kB / 1.523 GB, free: 7.758 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.6135, allocations: 189.2 kB / 1.523 GB, free: 7.574 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006125/0.6141, allocations: 0.5656 MB / 1.523 GB, free: 6.875 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.002358/0.6165, allocations: 1.094 MB / 1.524 GB, free: 5.695 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.6165, allocations: 4 kB / 1.524 GB, free: 5.691 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001091/0.6175, allocations: 0.6677 MB / 1.525 GB, free: 5.016 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.6176, allocations: 8 kB / 1.525 GB, free: 5.008 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.6176, allocations: 12.66 kB / 1.525 GB, free: 4.996 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.6176, allocations: 12 kB / 1.525 GB, free: 4.984 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.6181, allocations: 131.8 kB / 1.525 GB, free: 4.855 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.6181, allocations: 15.94 kB / 1.525 GB, free: 4.84 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.6186, allocations: 24.05 kB / 1.525 GB, free: 4.816 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.6187, allocations: 28 kB / 1.525 GB, free: 4.789 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.0004282/0.6191, allocations: 273.5 kB / 1.525 GB, free: 4.512 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.6192, allocations: 67.58 kB / 1.526 GB, free: 4.445 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.6194, allocations: 82.19 kB / 1.526 GB, free: 4.367 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.6194, allocations: 8 kB / 1.526 GB, free: 4.359 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6194, allocations: 0 / 1.526 GB, free: 4.359 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008177/0.6202, allocations: 0.7041 MB / 1.526 GB, free: 3.57 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/0.6227, allocations: 1.435 MB / 1.528 GB, free: 2.047 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.6227, allocations: 8.094 kB / 1.528 GB, free: 2.039 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.6231, allocations: 95.89 kB / 1.528 GB, free: 1.945 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.6231, allocations: 4 kB / 1.528 GB, free: 1.941 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.6232, allocations: 15.94 kB / 1.528 GB, free: 1.926 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.6232, allocations: 15.92 kB / 1.528 GB, free: 1.91 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.6232, allocations: 4 kB / 1.528 GB, free: 1.906 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.6243, allocations: 0.8534 MB / 1.529 GB, free: 0.9844 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.6246, allocations: 119.5 kB / 1.529 GB, free: 0.8672 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.121e-05/0.6247, allocations: 12 kB / 1.529 GB, free: 0.8555 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/0.6251, allocations: 27.92 kB / 1.529 GB, free: 0.8281 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.6252, allocations: 27.95 kB / 1.529 GB, free: 0.8008 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/0.6252, allocations: 31.86 kB / 1.529 GB, free: 0.7695 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004532/0.6257, allocations: 362.8 kB / 1.529 GB, free: 428 kB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6257, allocations: 0 / 1.529 GB, free: 428 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007871/0.6265, allocations: 195.9 kB / 1.529 GB, free: 232 kB / 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.0004623/0.6269, allocations: 192.5 kB / 1.53 GB, free: 40 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008556/0.6278, allocations: 459.8 kB / 1.53 GB, free: 15.59 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.6278, allocations: 5.562 kB / 1.53 GB, free: 15.59 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.6281, allocations: 204.7 kB / 1.53 GB, free: 15.39 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.6297, allocations: 335 kB / 1.531 GB, free: 15.06 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.6326, allocations: 1.705 MB / 1.532 GB, free: 13.27 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005268/0.6331, allocations: 440.2 kB / 1.533 GB, free: 12.81 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.6333, allocations: 55.44 kB / 1.533 GB, free: 12.76 MB / 1.232 GB Notification: Performance of SimCode: time 8.71e-07/0.6333, allocations: 0 / 1.533 GB, free: 12.76 MB / 1.232 GB Notification: Performance of Templates: time 0.01947/0.6528, allocations: 11.48 MB / 1.544 GB, free: 1.371 MB / 1.232 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/jenkins1/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: 13.273795590968803]