Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001715/0.001715, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00229/0.00229, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.121/3.121, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.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_12_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_12_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.002915/0.002915, allocations: 68.53 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3414, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2085/0.5499, allocations: 168.3 MB / 1.491 GB, free: 8.031 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01105/0.561, allocations: 5.419 MB / 1.497 GB, free: 2.602 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.5622, allocations: 59.5 kB / 1.497 GB, free: 2.543 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.5638, allocations: 0.5358 MB / 1.497 GB, free: 2.004 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004219/0.568, allocations: 1.68 MB / 1.499 GB, free: 324 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003237/0.5712, allocations: 1.234 MB / 1.5 GB, free: 15.09 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00336/0.5746, allocations: 2.573 MB / 1.503 GB, free: 12.51 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.5757, allocations: 0.72 MB / 1.503 GB, free: 11.77 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.5781, allocations: 1.253 MB / 1.505 GB, free: 10.51 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.5799, allocations: 0.8683 MB / 1.505 GB, free: 9.645 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.5801, allocations: 100 kB / 1.506 GB, free: 9.547 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.5825, allocations: 1.278 MB / 1.507 GB, free: 8.266 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000539/0.5831, allocations: 498.6 kB / 1.507 GB, free: 7.777 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006339/0.5837, allocations: 0.5213 MB / 1.508 GB, free: 7.254 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.5865, allocations: 2.083 MB / 1.51 GB, free: 5.164 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5865, allocations: 0 / 1.51 GB, free: 5.164 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5865, allocations: 0 / 1.51 GB, free: 5.164 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.737e-05/0.5865, allocations: 0 / 1.51 GB, free: 5.164 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002523/0.5891, allocations: 1.438 MB / 1.511 GB, free: 3.688 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.5891, allocations: 12.03 kB / 1.511 GB, free: 3.676 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.5912, allocations: 338.9 kB / 1.512 GB, free: 3.344 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.5928, allocations: 0.7401 MB / 1.512 GB, free: 2.574 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/0.5928, allocations: 66 kB / 1.512 GB, free: 2.508 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.593, allocations: 84 kB / 1.512 GB, free: 2.426 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.5952, allocations: 1.472 MB / 1.514 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.5952, allocations: 3.938 kB / 1.514 GB, free: 0.8125 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.5953, allocations: 43.98 kB / 1.514 GB, free: 0.7695 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.068e-05/0.5954, allocations: 30 kB / 1.514 GB, free: 0.7383 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.597, allocations: 0.8313 MB / 1.515 GB, free: 15.91 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.005409/0.6024, allocations: 3.071 MB / 1.518 GB, free: 12.75 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.6031, allocations: 358.6 kB / 1.518 GB, free: 12.39 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.6034, allocations: 204.8 kB / 1.518 GB, free: 12.19 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.6035, allocations: 23.98 kB / 1.518 GB, free: 12.16 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.6036, allocations: 38.56 kB / 1.518 GB, free: 12.12 MB / 1.217 GB Notification: Performance of pre-optimization done (n=36): time 2.225e-06/0.6036, allocations: 0 / 1.518 GB, free: 12.12 MB / 1.217 GB Notification: Performance of matching and sorting (n=38): time 0.002828/0.6064, allocations: 1.249 MB / 1.52 GB, free: 10.83 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.6065, allocations: 63.28 kB / 1.52 GB, free: 10.76 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.6076, allocations: 0.7308 MB / 1.52 GB, free: 10.02 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/0.6077, allocations: 41.69 kB / 1.52 GB, free: 9.977 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.6081, allocations: 0.5229 MB / 1.521 GB, free: 9.445 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.6083, allocations: 134.9 kB / 1.521 GB, free: 9.312 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.6085, allocations: 126.2 kB / 1.521 GB, free: 9.184 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.6087, allocations: 382.8 kB / 1.522 GB, free: 8.801 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004853/0.6092, allocations: 233.2 kB / 1.522 GB, free: 8.574 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006806/0.6099, allocations: 475.2 kB / 1.522 GB, free: 8.02 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.6126, allocations: 1.148 MB / 1.523 GB, free: 6.793 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.6126, allocations: 0 / 1.523 GB, free: 6.793 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001487/0.6141, allocations: 0.7469 MB / 1.524 GB, free: 6.039 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.6141, allocations: 16.03 kB / 1.524 GB, free: 6.023 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.6141, allocations: 4 kB / 1.524 GB, free: 6.02 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.6141, allocations: 11.94 kB / 1.524 GB, free: 6.008 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.6147, allocations: 147.7 kB / 1.524 GB, free: 5.863 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.6148, allocations: 11.98 kB / 1.524 GB, free: 5.852 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008739/0.6156, allocations: 51.95 kB / 1.524 GB, free: 5.801 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.823e-05/0.6157, allocations: 31.94 kB / 1.524 GB, free: 5.77 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: 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.0004903/0.6162, allocations: 311.4 kB / 1.525 GB, free: 5.457 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.6163, allocations: 83.48 kB / 1.525 GB, free: 5.375 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.6165, allocations: 86.98 kB / 1.525 GB, free: 5.285 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.6165, allocations: 7.938 kB / 1.525 GB, free: 5.277 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.6165, allocations: 0 / 1.525 GB, free: 5.277 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000749/0.6173, allocations: 0.6716 MB / 1.525 GB, free: 4.52 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.6197, allocations: 1.357 MB / 1.527 GB, free: 3.078 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.6197, allocations: 4 kB / 1.527 GB, free: 3.074 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/0.6201, allocations: 83.91 kB / 1.527 GB, free: 2.992 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/0.6201, allocations: 7.984 kB / 1.527 GB, free: 2.984 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.6202, allocations: 12 kB / 1.527 GB, free: 2.973 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/0.6202, allocations: 7.938 kB / 1.527 GB, free: 2.965 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.6202, allocations: 8 kB / 1.527 GB, free: 2.957 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.6213, allocations: 0.8169 MB / 1.528 GB, free: 2.074 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/0.6217, allocations: 135.5 kB / 1.528 GB, free: 1.941 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.6218, allocations: 19.98 kB / 1.528 GB, free: 1.922 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006784/0.6225, allocations: 35.97 kB / 1.528 GB, free: 1.887 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.6225, allocations: 31.89 kB / 1.528 GB, free: 1.855 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/0.6226, allocations: 27.98 kB / 1.528 GB, free: 1.828 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007822/0.6234, allocations: 0.5029 MB / 1.528 GB, free: 1.332 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6234, allocations: 7.938 kB / 1.528 GB, free: 1.324 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008862/0.6243, allocations: 251.9 kB / 1.529 GB, free: 1.078 MB / 1.217 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.0003643/0.6246, allocations: 189.3 kB / 1.529 GB, free: 0.8828 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009795/0.6256, allocations: 499.8 kB / 1.529 GB, free: 404 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.6256, allocations: 4 kB / 1.529 GB, free: 400 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.6259, allocations: 185.7 kB / 1.529 GB, free: 216 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/0.628, allocations: 441.6 kB / 1.53 GB, free: 15.79 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.6309, allocations: 1.825 MB / 1.532 GB, free: 13.89 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/0.6315, allocations: 0.4953 MB / 1.532 GB, free: 13.36 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006798/0.6321, allocations: 214.2 kB / 1.532 GB, free: 13.14 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.6323, allocations: 63.42 kB / 1.532 GB, free: 13.08 MB / 1.232 GB Notification: Performance of SimCode: time 8.11e-07/0.6323, allocations: 4 kB / 1.532 GB, free: 13.08 MB / 1.232 GB Notification: Performance of Templates: time 0.03/0.6623, allocations: 17.39 MB / 1.549 GB, free: 12.07 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.203038788997219]