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.001555/0.001555, allocations: 102.1 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.001664/0.001664, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.907/2.907, allocations: 0.49 GB / 0.7958 GB, free: 33.59 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.001916/0.001916, allocations: 66.23 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2892, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2085/0.4977, allocations: 194.3 MB / 1.517 GB, free: 14.41 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009245/0.5069, allocations: 5.747 MB / 1.523 GB, free: 8.656 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.5081, allocations: 59.5 kB / 1.523 GB, free: 8.598 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.5095, allocations: 0.5903 MB / 1.523 GB, free: 8.004 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003852/0.5134, allocations: 1.696 MB / 1.525 GB, free: 6.301 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.5164, allocations: 1.253 MB / 1.526 GB, free: 5.055 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003551/0.52, allocations: 2.58 MB / 1.529 GB, free: 2.469 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.5211, allocations: 0.72 MB / 1.529 GB, free: 1.73 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.5235, allocations: 1.25 MB / 1.53 GB, free: 488 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.5252, allocations: 0.8607 MB / 1.531 GB, free: 15.62 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.5254, allocations: 104 kB / 1.531 GB, free: 15.52 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002838/0.5282, allocations: 1.614 MB / 1.533 GB, free: 13.9 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.0005156/0.5287, allocations: 0.4947 MB / 1.533 GB, free: 13.4 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.0006991/0.5294, allocations: 0.6222 MB / 1.534 GB, free: 12.78 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.002878/0.5323, allocations: 2.122 MB / 1.536 GB, free: 10.65 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5323, allocations: 0 / 1.536 GB, free: 10.65 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5323, allocations: 0 / 1.536 GB, free: 10.65 MB / 1.233 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.5323, allocations: 0 / 1.536 GB, free: 10.65 MB / 1.233 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.002348/0.5347, allocations: 1.43 MB / 1.538 GB, free: 9.18 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.5347, allocations: 12.03 kB / 1.538 GB, free: 9.168 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.5366, allocations: 338.9 kB / 1.538 GB, free: 8.836 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.538, allocations: 0.7479 MB / 1.539 GB, free: 8.059 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.233e-05/0.538, allocations: 65.98 kB / 1.539 GB, free: 7.992 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.5381, allocations: 80 kB / 1.539 GB, free: 7.914 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.5399, allocations: 1.071 MB / 1.54 GB, free: 6.805 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.5399, allocations: 3.938 kB / 1.54 GB, free: 6.801 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.618e-05/0.54, allocations: 40 kB / 1.54 GB, free: 6.762 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-05/0.54, allocations: 37.98 kB / 1.54 GB, free: 6.723 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.5415, allocations: 0.8313 MB / 1.541 GB, free: 5.891 MB / 1.233 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.0058/0.5473, allocations: 4.367 MB / 1.545 GB, free: 1.215 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000594/0.5479, allocations: 356.3 kB / 1.545 GB, free: 0.8594 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.5482, allocations: 205.4 kB / 1.546 GB, free: 0.6562 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.5483, allocations: 23.92 kB / 1.546 GB, free: 0.6328 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.5484, allocations: 46.56 kB / 1.546 GB, free: 0.5781 MB / 1.233 GB Notification: Performance of pre-optimization done (n=36): time 2.314e-06/0.5484, allocations: 0 / 1.546 GB, free: 0.5781 MB / 1.233 GB Notification: Performance of matching and sorting (n=38): time 0.002467/0.5508, allocations: 1.276 MB / 1.547 GB, free: 15.27 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.5509, allocations: 55.41 kB / 1.547 GB, free: 15.2 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.5522, allocations: 0.9967 MB / 1.548 GB, free: 14.18 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.5523, allocations: 37.7 kB / 1.548 GB, free: 14.14 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.5527, allocations: 0.4963 MB / 1.548 GB, free: 13.64 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.5528, allocations: 142.8 kB / 1.549 GB, free: 13.5 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.553, allocations: 130.2 kB / 1.549 GB, free: 13.36 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5531, allocations: 334 kB / 1.549 GB, free: 13.03 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/0.5536, allocations: 237.2 kB / 1.549 GB, free: 12.8 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006042/0.5542, allocations: 415.9 kB / 1.55 GB, free: 12.32 MB / 1.248 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.002416/0.5566, allocations: 1.15 MB / 1.551 GB, free: 11.09 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.5566, allocations: 0 / 1.551 GB, free: 11.09 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001401/0.558, allocations: 0.766 MB / 1.551 GB, free: 10.31 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.558, allocations: 4 kB / 1.551 GB, free: 10.31 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.558, allocations: 8 kB / 1.551 GB, free: 10.3 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.5581, allocations: 12.31 kB / 1.551 GB, free: 10.29 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005547/0.5586, allocations: 147.7 kB / 1.552 GB, free: 10.14 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.5586, allocations: 12 kB / 1.552 GB, free: 10.13 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008404/0.5595, allocations: 55.95 kB / 1.552 GB, free: 10.08 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.5595, allocations: 27.98 kB / 1.552 GB, free: 10.05 MB / 1.248 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.0004501/0.56, allocations: 321.4 kB / 1.552 GB, free: 9.727 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.5601, allocations: 103.3 kB / 1.552 GB, free: 9.625 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.5603, allocations: 105 kB / 1.552 GB, free: 9.523 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.5603, allocations: 4 kB / 1.552 GB, free: 9.52 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5603, allocations: 0 / 1.552 GB, free: 9.52 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007034/0.561, allocations: 0.6755 MB / 1.553 GB, free: 8.758 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.5634, allocations: 1.548 MB / 1.554 GB, free: 7.109 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.5635, allocations: 8 kB / 1.554 GB, free: 7.102 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.5638, allocations: 88.39 kB / 1.554 GB, free: 7.016 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.5638, allocations: 8 kB / 1.554 GB, free: 7.008 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.5639, allocations: 15.94 kB / 1.554 GB, free: 6.992 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.5639, allocations: 15.81 kB / 1.555 GB, free: 6.977 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.5639, allocations: 8 kB / 1.555 GB, free: 6.969 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.5649, allocations: 0.8389 MB / 1.555 GB, free: 6.066 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003897/0.5653, allocations: 159.3 kB / 1.555 GB, free: 5.91 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.5654, allocations: 19.92 kB / 1.556 GB, free: 5.891 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006144/0.5661, allocations: 38.2 kB / 1.556 GB, free: 5.855 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.5661, allocations: 39.83 kB / 1.556 GB, free: 5.816 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.5662, allocations: 27.98 kB / 1.556 GB, free: 5.789 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009925/0.5672, allocations: 0.7116 MB / 1.556 GB, free: 5.066 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5672, allocations: 0 / 1.556 GB, free: 5.066 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0007653/0.5679, allocations: 251.9 kB / 1.557 GB, free: 4.82 MB / 1.248 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.00032/0.5682, allocations: 199 kB / 1.557 GB, free: 4.613 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0008896/0.5691, allocations: 0.4885 MB / 1.557 GB, free: 4.125 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5691, allocations: 0 / 1.557 GB, free: 4.125 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.5694, allocations: 177.5 kB / 1.557 GB, free: 3.953 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/0.5718, allocations: 0.6312 MB / 1.558 GB, free: 3.332 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.5746, allocations: 1.929 MB / 1.56 GB, free: 1.316 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/0.5754, allocations: 1.095 MB / 1.561 GB, free: 196 kB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.5756, allocations: 79.44 kB / 1.561 GB, free: 116 kB / 1.248 GB Notification: Performance of SimCode: time 6.41e-07/0.5756, allocations: 0 / 1.561 GB, free: 116 kB / 1.248 GB Notification: Performance of Templates: time 0.02384/0.5994, allocations: 16.58 MB / 1.577 GB, free: 15.68 MB / 1.279 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.241911086981418]