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.001917/0.001917, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00204/0.00204, allocations: 213.2 kB / 22.24 MB, free: 5.262 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.624/1.624, allocations: 230.6 MB / 256 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.648/3.648, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] 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.002177/0.002177, allocations: 70.11 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4305, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2338/0.6643, allocations: 168.3 MB / 1.49 GB, free: 8.926 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01081/0.6751, allocations: 5.409 MB / 1.495 GB, free: 3.504 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.6767, allocations: 59.5 kB / 1.495 GB, free: 3.445 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001868/0.6786, allocations: 0.5436 MB / 1.496 GB, free: 2.898 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005145/0.6837, allocations: 1.676 MB / 1.497 GB, free: 1.215 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.6876, allocations: 1.231 MB / 1.499 GB, free: 15.99 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004022/0.6916, allocations: 2.554 MB / 1.501 GB, free: 13.43 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.6928, allocations: 0.7083 MB / 1.502 GB, free: 12.7 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.6956, allocations: 1.25 MB / 1.503 GB, free: 11.45 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.6976, allocations: 0.844 MB / 1.504 GB, free: 10.61 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.6977, allocations: 100 kB / 1.504 GB, free: 10.51 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/0.7007, allocations: 1.247 MB / 1.505 GB, free: 9.258 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006322/0.7013, allocations: 0.4985 MB / 1.506 GB, free: 8.758 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007096/0.7021, allocations: 0.5135 MB / 1.506 GB, free: 8.242 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.7054, allocations: 2.083 MB / 1.508 GB, free: 6.152 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7054, allocations: 0 / 1.508 GB, free: 6.152 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.474e-06/0.7054, allocations: 0 / 1.508 GB, free: 6.152 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.098e-05/0.7054, allocations: 0 / 1.508 GB, free: 6.152 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.002609/0.708, allocations: 1.447 MB / 1.51 GB, free: 4.668 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.708, allocations: 12.03 kB / 1.51 GB, free: 4.656 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.71, allocations: 334.9 kB / 1.51 GB, free: 4.328 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.7115, allocations: 0.7363 MB / 1.511 GB, free: 3.562 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.235e-05/0.7116, allocations: 66 kB / 1.511 GB, free: 3.496 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.7118, allocations: 80 kB / 1.511 GB, free: 3.418 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.7139, allocations: 1.48 MB / 1.512 GB, free: 1.801 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.714, allocations: 3.938 kB / 1.512 GB, free: 1.797 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.444e-05/0.7141, allocations: 40 kB / 1.512 GB, free: 1.758 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.745e-05/0.7141, allocations: 33.98 kB / 1.512 GB, free: 1.723 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.7157, allocations: 0.8197 MB / 1.513 GB, free: 0.9023 MB / 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.005786/0.7215, allocations: 3.079 MB / 1.516 GB, free: 13.73 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006544/0.7222, allocations: 351.4 kB / 1.516 GB, free: 13.38 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.7225, allocations: 207.3 kB / 1.517 GB, free: 13.18 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.7227, allocations: 23.97 kB / 1.517 GB, free: 13.16 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.7227, allocations: 38.56 kB / 1.517 GB, free: 13.11 MB / 1.217 GB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/0.7227, allocations: 0 / 1.517 GB, free: 13.11 MB / 1.217 GB Notification: Performance of matching and sorting (n=38): time 0.002814/0.7255, allocations: 1.257 MB / 1.518 GB, free: 11.82 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.7256, allocations: 59.34 kB / 1.518 GB, free: 11.75 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.7267, allocations: 0.7269 MB / 1.519 GB, free: 11.02 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.7268, allocations: 41.7 kB / 1.519 GB, free: 10.97 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/0.7272, allocations: 0.5268 MB / 1.519 GB, free: 10.43 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.7274, allocations: 138.8 kB / 1.519 GB, free: 10.3 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.7276, allocations: 126.2 kB / 1.52 GB, free: 10.17 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000218/0.7278, allocations: 378.8 kB / 1.52 GB, free: 9.789 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/0.7283, allocations: 237.1 kB / 1.52 GB, free: 9.559 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007057/0.729, allocations: 475.2 kB / 1.521 GB, free: 9.004 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.002685/0.7317, allocations: 1.135 MB / 1.522 GB, free: 7.789 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.7317, allocations: 4 kB / 1.522 GB, free: 7.785 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001505/0.7332, allocations: 0.7505 MB / 1.522 GB, free: 7.027 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.7332, allocations: 4 kB / 1.522 GB, free: 7.023 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.7332, allocations: 8.078 kB / 1.522 GB, free: 7.016 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-05/0.7333, allocations: 8 kB / 1.522 GB, free: 7.008 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.7338, allocations: 148.1 kB / 1.523 GB, free: 6.863 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-05/0.7339, allocations: 19.92 kB / 1.523 GB, free: 6.844 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008128/0.7347, allocations: 55.88 kB / 1.523 GB, free: 6.793 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/0.7347, allocations: 28 kB / 1.523 GB, free: 6.766 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.0005168/0.7353, allocations: 313.5 kB / 1.523 GB, free: 6.449 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.7354, allocations: 83.48 kB / 1.523 GB, free: 6.367 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.7356, allocations: 83 kB / 1.523 GB, free: 6.281 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.7356, allocations: 11.92 kB / 1.523 GB, free: 6.27 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.7356, allocations: 0 / 1.523 GB, free: 6.27 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007954/0.7364, allocations: 0.6754 MB / 1.524 GB, free: 5.508 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.7388, allocations: 1.344 MB / 1.525 GB, free: 4.078 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.7388, allocations: 7.984 kB / 1.525 GB, free: 4.07 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.7392, allocations: 83.84 kB / 1.525 GB, free: 3.988 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.7392, allocations: 8.5 kB / 1.525 GB, free: 3.98 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.7392, allocations: 16 kB / 1.525 GB, free: 3.965 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.7393, allocations: 7.984 kB / 1.525 GB, free: 3.957 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.7393, allocations: 4 kB / 1.525 GB, free: 3.953 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.7405, allocations: 0.8168 MB / 1.526 GB, free: 3.07 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.7409, allocations: 135.5 kB / 1.526 GB, free: 2.938 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-05/0.741, allocations: 12 kB / 1.526 GB, free: 2.926 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006057/0.7416, allocations: 42.03 kB / 1.526 GB, free: 2.887 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.7417, allocations: 35.83 kB / 1.526 GB, free: 2.852 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.137e-05/0.7417, allocations: 27.98 kB / 1.526 GB, free: 2.824 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007918/0.7425, allocations: 0.5028 MB / 1.527 GB, free: 2.328 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7425, allocations: 0 / 1.527 GB, free: 2.328 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008781/0.7434, allocations: 251.9 kB / 1.527 GB, free: 2.082 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.0003787/0.7438, allocations: 192 kB / 1.527 GB, free: 1.883 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009595/0.7447, allocations: 0.4887 MB / 1.528 GB, free: 1.395 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7447, allocations: 0 / 1.528 GB, free: 1.395 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.745, allocations: 188 kB / 1.528 GB, free: 1.211 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/0.747, allocations: 446.3 kB / 1.528 GB, free: 0.7852 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.7502, allocations: 1.829 MB / 1.53 GB, free: 14.88 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006341/0.7508, allocations: 0.5031 MB / 1.531 GB, free: 14.34 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006635/0.7515, allocations: 198.3 kB / 1.531 GB, free: 14.14 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.7516, allocations: 63.42 kB / 1.531 GB, free: 14.08 MB / 1.232 GB Notification: Performance of SimCode: time 5.91e-07/0.7516, allocations: 0 / 1.531 GB, free: 14.08 MB / 1.232 GB Notification: Performance of Templates: time 0.03184/0.7835, allocations: 17.2 MB / 1.548 GB, free: 13.27 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/jenkins/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: 10.918234528973699]