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.001533/0.001533, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001714/0.001714, allocations: 218.2 kB / 23.04 MB, free: 4.844 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.742 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.049/3.049, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.001983/0.001983, allocations: 71.86 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3381, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2073/0.5454, allocations: 168.3 MB / 1.492 GB, free: 8.051 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00947/0.5549, allocations: 5.417 MB / 1.497 GB, free: 2.625 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.5561, allocations: 51.56 kB / 1.497 GB, free: 2.574 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.5577, allocations: 0.5513 MB / 1.497 GB, free: 2.02 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004297/0.562, allocations: 1.668 MB / 1.499 GB, free: 352 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003398/0.5654, allocations: 1.232 MB / 1.5 GB, free: 15.12 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003576/0.569, allocations: 2.553 MB / 1.503 GB, free: 12.55 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.57, allocations: 0.7083 MB / 1.503 GB, free: 11.83 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002251/0.5723, allocations: 1.261 MB / 1.505 GB, free: 10.56 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.574, allocations: 0.8269 MB / 1.505 GB, free: 9.738 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.5742, allocations: 100 kB / 1.506 GB, free: 9.641 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.5766, allocations: 1.247 MB / 1.507 GB, free: 8.391 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005438/0.5771, allocations: 0.5024 MB / 1.507 GB, free: 7.887 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006424/0.5778, allocations: 0.5135 MB / 1.508 GB, free: 7.371 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002951/0.5807, allocations: 2.079 MB / 1.51 GB, free: 5.285 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.5807, allocations: 4 kB / 1.51 GB, free: 5.281 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5807, allocations: 4 kB / 1.51 GB, free: 5.277 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.009e-05/0.5807, allocations: 0 / 1.51 GB, free: 5.277 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.002682/0.5834, allocations: 1.442 MB / 1.511 GB, free: 3.797 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5835, allocations: 8.031 kB / 1.511 GB, free: 3.789 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.5854, allocations: 342.9 kB / 1.512 GB, free: 3.453 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.587, allocations: 0.7362 MB / 1.512 GB, free: 2.688 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.587, allocations: 70 kB / 1.512 GB, free: 2.617 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.5872, allocations: 80 kB / 1.512 GB, free: 2.539 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.5892, allocations: 1.476 MB / 1.514 GB, free: 0.9258 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.5893, allocations: 0 / 1.514 GB, free: 0.9258 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.451e-05/0.5894, allocations: 40 kB / 1.514 GB, free: 0.8867 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/0.5894, allocations: 33.98 kB / 1.514 GB, free: 0.8516 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.5909, allocations: 0.8274 MB / 1.515 GB, free: 24 kB / 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.005352/0.5963, allocations: 3.081 MB / 1.518 GB, free: 12.86 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006174/0.5969, allocations: 355.8 kB / 1.518 GB, free: 12.5 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.5972, allocations: 201.4 kB / 1.518 GB, free: 12.3 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.5974, allocations: 27.98 kB / 1.518 GB, free: 12.28 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.5974, allocations: 38.56 kB / 1.518 GB, free: 12.23 MB / 1.217 GB Notification: Performance of pre-optimization done (n=36): time 2.124e-06/0.5974, allocations: 0 / 1.518 GB, free: 12.23 MB / 1.217 GB Notification: Performance of matching and sorting (n=38): time 0.002495/0.5999, allocations: 1.245 MB / 1.52 GB, free: 10.95 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.5999, allocations: 59.34 kB / 1.52 GB, free: 10.88 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.6009, allocations: 0.7347 MB / 1.52 GB, free: 10.14 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.601, allocations: 33.7 kB / 1.52 GB, free: 10.1 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.6014, allocations: 0.5307 MB / 1.521 GB, free: 9.562 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.6015, allocations: 134.8 kB / 1.521 GB, free: 9.43 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.6017, allocations: 126.2 kB / 1.521 GB, free: 9.301 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.6019, allocations: 386.7 kB / 1.521 GB, free: 8.914 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.6024, allocations: 237.2 kB / 1.522 GB, free: 8.684 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.603, allocations: 471.2 kB / 1.522 GB, free: 8.133 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.002486/0.6055, allocations: 1.139 MB / 1.523 GB, free: 6.914 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6055, allocations: 8 kB / 1.523 GB, free: 6.906 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001373/0.6069, allocations: 0.7386 MB / 1.524 GB, free: 6.16 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.6069, allocations: 8.562 kB / 1.524 GB, free: 6.152 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6069, allocations: 4 kB / 1.524 GB, free: 6.148 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.6069, allocations: 12 kB / 1.524 GB, free: 6.137 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.6075, allocations: 147.7 kB / 1.524 GB, free: 5.992 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.6075, allocations: 11.94 kB / 1.524 GB, free: 5.98 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007767/0.6083, allocations: 59.94 kB / 1.524 GB, free: 5.922 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.6083, allocations: 28 kB / 1.524 GB, free: 5.895 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.0004376/0.6088, allocations: 311.3 kB / 1.525 GB, free: 5.582 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.6089, allocations: 83.48 kB / 1.525 GB, free: 5.5 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.609, allocations: 82.94 kB / 1.525 GB, free: 5.414 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.6091, allocations: 7.938 kB / 1.525 GB, free: 5.406 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6091, allocations: 3.938 kB / 1.525 GB, free: 5.402 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007019/0.6098, allocations: 0.6755 MB / 1.525 GB, free: 4.641 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.612, allocations: 1.349 MB / 1.527 GB, free: 3.207 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.612, allocations: 8.062 kB / 1.527 GB, free: 3.199 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/0.6124, allocations: 87.89 kB / 1.527 GB, free: 3.113 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.6124, allocations: 4 kB / 1.527 GB, free: 3.109 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.6124, allocations: 12 kB / 1.527 GB, free: 3.098 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/0.6124, allocations: 11.98 kB / 1.527 GB, free: 3.086 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.6124, allocations: 7.938 kB / 1.527 GB, free: 3.078 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.6135, allocations: 0.813 MB / 1.528 GB, free: 2.199 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.6138, allocations: 135.5 kB / 1.528 GB, free: 2.066 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-05/0.6139, allocations: 16 kB / 1.528 GB, free: 2.051 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/0.6145, allocations: 38 kB / 1.528 GB, free: 2.016 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.6146, allocations: 35.83 kB / 1.528 GB, free: 1.98 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.458e-05/0.6146, allocations: 27.98 kB / 1.528 GB, free: 1.953 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007227/0.6153, allocations: 0.5028 MB / 1.528 GB, free: 1.457 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6153, allocations: 0 / 1.528 GB, free: 1.457 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008051/0.6162, allocations: 255.9 kB / 1.529 GB, free: 1.207 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.0003372/0.6165, allocations: 196.3 kB / 1.529 GB, free: 1.004 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009069/0.6174, allocations: 496.4 kB / 1.529 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.6174, allocations: 8 kB / 1.529 GB, free: 0.5117 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.6177, allocations: 179.6 kB / 1.529 GB, free: 344 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.6196, allocations: 447.1 kB / 1.53 GB, free: 15.91 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.6224, allocations: 1.893 MB / 1.532 GB, free: 13.93 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/0.6229, allocations: 0.5031 MB / 1.532 GB, free: 13.39 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.6231, allocations: 63.44 kB / 1.532 GB, free: 13.33 MB / 1.232 GB Notification: Performance of SimCode: time 6.31e-07/0.6231, allocations: 0 / 1.532 GB, free: 13.33 MB / 1.232 GB Notification: Performance of Templates: time 0.02079/0.6439, allocations: 14.4 MB / 1.546 GB, free: 15.04 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 -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: 13.484711152035743]