Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.00144/0.00144, allocations: 102.3 kB / 19.7 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.001591/0.001591, allocations: 218.1 kB / 23.01 MB, free: 5.125 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.342/1.342, allocations: 230.6 MB / 256.8 MB, free: 7.945 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 2.887/2.887, allocations: 0.49 GB / 0.7958 GB, free: 33.37 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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [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.001917/0.001917, allocations: 65.14 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3128, allocations: 176.1 MB / 1.327 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.213/0.5258, allocations: 191.1 MB / 1.514 GB, free: 1.605 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0159/0.5417, allocations: 13.21 MB / 1.527 GB, free: 4.359 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009926/0.5427, allocations: 43.62 kB / 1.527 GB, free: 4.316 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.5439, allocations: 421.3 kB / 1.527 GB, free: 3.902 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.546, allocations: 0.9721 MB / 1.528 GB, free: 2.926 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.5477, allocations: 0.7346 MB / 1.529 GB, free: 2.195 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001885/0.5496, allocations: 1.516 MB / 1.53 GB, free: 0.6758 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007526/0.5504, allocations: 0.5107 MB / 1.531 GB, free: 148 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003959/0.5543, allocations: 1.927 MB / 1.533 GB, free: 14.21 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.5556, allocations: 0.519 MB / 1.533 GB, free: 13.7 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 8.642e-05/0.5557, allocations: 56 kB / 1.533 GB, free: 13.64 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.5572, allocations: 0.9081 MB / 1.534 GB, free: 12.73 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.5575, allocations: 283.1 kB / 1.534 GB, free: 12.45 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003866/0.5579, allocations: 386 kB / 1.535 GB, free: 12.07 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.5595, allocations: 1.179 MB / 1.536 GB, free: 10.89 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5595, allocations: 0 / 1.536 GB, free: 10.89 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5595, allocations: 0 / 1.536 GB, free: 10.89 MB / 1.232 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.5595, allocations: 4 kB / 1.536 GB, free: 10.89 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001458/0.5609, allocations: 1.01 MB / 1.537 GB, free: 9.84 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.561, allocations: 8.031 kB / 1.537 GB, free: 9.832 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008766/0.5619, allocations: 191.3 kB / 1.537 GB, free: 9.645 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008624/0.5627, allocations: 499.8 kB / 1.538 GB, free: 9.133 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/0.5628, allocations: 45.31 kB / 1.538 GB, free: 9.086 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.483e-05/0.5628, allocations: 59.94 kB / 1.538 GB, free: 9.027 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.564, allocations: 0.7711 MB / 1.538 GB, free: 8.148 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.564, allocations: 7.938 kB / 1.538 GB, free: 8.141 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.5641, allocations: 35.88 kB / 1.538 GB, free: 8.105 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.5641, allocations: 21 kB / 1.538 GB, free: 8.086 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008703/0.565, allocations: 459.3 kB / 1.539 GB, free: 7.637 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.004036/0.569, allocations: 4.395 MB / 1.543 GB, free: 3 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.5692, allocations: 106.4 kB / 1.543 GB, free: 2.859 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.5693, allocations: 67.5 kB / 1.543 GB, free: 2.781 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.5694, allocations: 27.97 kB / 1.543 GB, free: 2.754 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.5694, allocations: 42.5 kB / 1.543 GB, free: 2.703 MB / 1.232 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.5694, allocations: 0 / 1.543 GB, free: 2.703 MB / 1.232 GB Notification: Performance of matching and sorting (n=10): time 0.000651/0.5701, allocations: 249.6 kB / 1.544 GB, free: 2.453 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.5702, allocations: 140.5 kB / 1.544 GB, free: 2.285 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.5713, allocations: 0.8331 MB / 1.545 GB, free: 1.441 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.5713, allocations: 33.64 kB / 1.545 GB, free: 1.402 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.5716, allocations: 411.7 kB / 1.545 GB, free: 0.9961 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.5717, allocations: 43.67 kB / 1.545 GB, free: 0.9531 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.5718, allocations: 97.97 kB / 1.545 GB, free: 0.8516 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5719, allocations: 321.9 kB / 1.545 GB, free: 0.5312 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.5722, allocations: 116.7 kB / 1.546 GB, free: 428 kB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/0.5727, allocations: 361.7 kB / 1.546 GB, free: 15.95 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.5733, allocations: 433.5 kB / 1.546 GB, free: 15.42 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5733, allocations: 4 kB / 1.546 GB, free: 15.41 MB / 1.248 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009022/0.5742, allocations: 0.5051 MB / 1.547 GB, free: 14.9 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5742, allocations: 9.406 kB / 1.547 GB, free: 14.89 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.5742, allocations: 12.06 kB / 1.547 GB, free: 14.88 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.5742, allocations: 8 kB / 1.547 GB, free: 14.88 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.5745, allocations: 91.83 kB / 1.547 GB, free: 14.79 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.5745, allocations: 15.94 kB / 1.547 GB, free: 14.77 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005662/0.5751, allocations: 119.3 kB / 1.547 GB, free: 14.65 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.5751, allocations: 27.94 kB / 1.547 GB, free: 14.62 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002586/0.5754, allocations: 234.7 kB / 1.547 GB, free: 14.39 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.5755, allocations: 79.48 kB / 1.547 GB, free: 14.31 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.5757, allocations: 74.27 kB / 1.547 GB, free: 14.23 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5757, allocations: 3.938 kB / 1.547 GB, free: 14.23 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5757, allocations: 8 kB / 1.547 GB, free: 14.22 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.5757, allocations: 0 / 1.547 GB, free: 14.22 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.577, allocations: 1.084 MB / 1.549 GB, free: 13.05 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.577, allocations: 3.984 kB / 1.549 GB, free: 13.05 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/0.5771, allocations: 19.94 kB / 1.549 GB, free: 13.03 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.5771, allocations: 4 kB / 1.549 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.5771, allocations: 4 kB / 1.549 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.5771, allocations: 3.984 kB / 1.549 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5771, allocations: 4 kB / 1.549 GB, free: 13.01 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.5774, allocations: 276.6 kB / 1.549 GB, free: 12.7 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.5776, allocations: 99.38 kB / 1.549 GB, free: 12.6 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.449e-05/0.5777, allocations: 8 kB / 1.549 GB, free: 12.59 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.578, allocations: 19.98 kB / 1.549 GB, free: 12.57 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.578, allocations: 15.92 kB / 1.549 GB, free: 12.55 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.578, allocations: 4.094 kB / 1.549 GB, free: 12.55 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007913/0.5788, allocations: 0.5887 MB / 1.55 GB, free: 11.96 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.5788, allocations: 0 / 1.55 GB, free: 11.96 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0005126/0.5793, allocations: 167.8 kB / 1.55 GB, free: 11.8 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0003806/0.5797, allocations: 173.9 kB / 1.55 GB, free: 11.63 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0004844/0.5802, allocations: 233.2 kB / 1.55 GB, free: 11.41 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5802, allocations: 0 / 1.55 GB, free: 11.41 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 6.98e-05/0.5803, allocations: 51.86 kB / 1.55 GB, free: 11.36 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.5817, allocations: 370.1 kB / 1.55 GB, free: 11 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.5833, allocations: 1.133 MB / 1.552 GB, free: 9.805 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/0.5839, allocations: 0.937 MB / 1.553 GB, free: 8.84 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.584, allocations: 55.36 kB / 1.553 GB, free: 8.785 MB / 1.248 GB Notification: Performance of SimCode: time 4.61e-07/0.584, allocations: 0 / 1.553 GB, free: 8.785 MB / 1.248 GB Notification: Performance of Templates: time 0.01511/0.5991, allocations: 10.79 MB / 1.563 GB, free: 14.1 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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: 12.225011250993703]