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.001518/0.001518, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001677/0.001677, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.434/1.434, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.824/2.824, allocations: 0.49 GB / 0.7923 GB, free: 1.438 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.00199/0.00199, allocations: 67.91 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9544/0.9563, allocations: 176.1 MB / 1.322 GB, free: 25.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2412/1.198, allocations: 194 MB / 1.511 GB, free: 7.215 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01061/1.208, allocations: 5.717 MB / 1.517 GB, free: 1.484 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/1.21, allocations: 55.56 kB / 1.517 GB, free: 1.43 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/1.212, allocations: 0.5981 MB / 1.518 GB, free: 0.8281 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004614/1.216, allocations: 1.672 MB / 1.519 GB, free: 15.15 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003452/1.22, allocations: 1.22 MB / 1.52 GB, free: 13.94 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003812/1.223, allocations: 2.5 MB / 1.523 GB, free: 11.43 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/1.225, allocations: 0.8364 MB / 1.524 GB, free: 10.57 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/1.227, allocations: 1.238 MB / 1.525 GB, free: 9.332 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/1.229, allocations: 0.8697 MB / 1.526 GB, free: 8.465 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/1.23, allocations: 100 kB / 1.526 GB, free: 8.367 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/1.233, allocations: 1.594 MB / 1.527 GB, free: 6.77 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006045/1.233, allocations: 498.6 kB / 1.528 GB, free: 6.281 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008888/1.234, allocations: 0.6221 MB / 1.529 GB, free: 5.656 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003448/1.238, allocations: 2.118 MB / 1.531 GB, free: 3.531 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.238, allocations: 4 kB / 1.531 GB, free: 3.527 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.497e-06/1.238, allocations: 3.984 kB / 1.531 GB, free: 3.523 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.528e-05/1.238, allocations: 0 / 1.531 GB, free: 3.523 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.002485/1.24, allocations: 1.506 MB / 1.532 GB, free: 1.961 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.24, allocations: 15.98 kB / 1.532 GB, free: 1.945 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/1.242, allocations: 338.9 kB / 1.532 GB, free: 1.613 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/1.244, allocations: 0.8123 MB / 1.533 GB, free: 0.7578 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.475e-05/1.244, allocations: 73.98 kB / 1.533 GB, free: 0.6836 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/1.244, allocations: 80 kB / 1.533 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/1.246, allocations: 1.073 MB / 1.534 GB, free: 15.5 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/1.246, allocations: 7.938 kB / 1.534 GB, free: 15.49 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.968e-05/1.246, allocations: 32 kB / 1.534 GB, free: 15.46 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.792e-05/1.246, allocations: 41.98 kB / 1.534 GB, free: 15.41 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/1.247, allocations: 0.8236 MB / 1.535 GB, free: 14.59 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.005926/1.253, allocations: 4.425 MB / 1.54 GB, free: 9.855 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006252/1.254, allocations: 354.7 kB / 1.54 GB, free: 9.5 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/1.254, allocations: 200.8 kB / 1.54 GB, free: 9.301 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/1.255, allocations: 105 kB / 1.54 GB, free: 9.18 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/1.255, allocations: 42.56 kB / 1.54 GB, free: 9.129 MB / 1.217 GB Notification: Performance of pre-optimization done (n=36): time 3.908e-06/1.255, allocations: 4 kB / 1.54 GB, free: 9.125 MB / 1.217 GB Notification: Performance of matching and sorting (n=38): time 0.002655/1.257, allocations: 1.354 MB / 1.542 GB, free: 7.719 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/1.257, allocations: 55.41 kB / 1.542 GB, free: 7.652 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/1.259, allocations: 1.001 MB / 1.543 GB, free: 6.629 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/1.259, allocations: 37.7 kB / 1.543 GB, free: 6.586 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/1.259, allocations: 0.4963 MB / 1.543 GB, free: 6.086 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/1.259, allocations: 142.8 kB / 1.543 GB, free: 5.945 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/1.26, allocations: 122.2 kB / 1.543 GB, free: 5.82 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.26, allocations: 330 kB / 1.544 GB, free: 5.492 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/1.26, allocations: 237.2 kB / 1.544 GB, free: 5.258 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006606/1.261, allocations: 419.8 kB / 1.544 GB, free: 4.773 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.002729/1.264, allocations: 1.221 MB / 1.546 GB, free: 3.453 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/1.264, allocations: 4 kB / 1.546 GB, free: 3.449 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001526/1.265, allocations: 0.7621 MB / 1.546 GB, free: 2.68 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.265, allocations: 8 kB / 1.546 GB, free: 2.672 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/1.265, allocations: 15.98 kB / 1.546 GB, free: 2.656 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/1.265, allocations: 11.94 kB / 1.546 GB, free: 2.645 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005735/1.266, allocations: 136.2 kB / 1.546 GB, free: 2.512 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/1.266, allocations: 19.92 kB / 1.546 GB, free: 2.492 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008628/1.267, allocations: 59.89 kB / 1.547 GB, free: 2.434 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/1.267, allocations: 24 kB / 1.547 GB, free: 2.41 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.0004885/1.267, allocations: 315.5 kB / 1.547 GB, free: 2.094 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/1.267, allocations: 103.3 kB / 1.547 GB, free: 1.992 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/1.268, allocations: 105 kB / 1.547 GB, free: 1.891 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/1.268, allocations: 7.984 kB / 1.547 GB, free: 1.883 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.268, allocations: 0 / 1.547 GB, free: 1.883 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007928/1.268, allocations: 0.6797 MB / 1.548 GB, free: 1.117 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002553/1.271, allocations: 1.578 MB / 1.549 GB, free: 15.43 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.271, allocations: 4 kB / 1.549 GB, free: 15.43 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/1.271, allocations: 87.83 kB / 1.549 GB, free: 15.34 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/1.271, allocations: 8 kB / 1.549 GB, free: 15.34 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/1.271, allocations: 15.94 kB / 1.549 GB, free: 15.32 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/1.271, allocations: 8.438 kB / 1.549 GB, free: 15.31 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/1.271, allocations: 8 kB / 1.549 GB, free: 15.3 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/1.273, allocations: 0.8373 MB / 1.55 GB, free: 14.4 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/1.273, allocations: 244.4 kB / 1.55 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/1.273, allocations: 19.88 kB / 1.55 GB, free: 14.12 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006727/1.274, allocations: 35.97 kB / 1.55 GB, free: 14.09 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/1.274, allocations: 35.84 kB / 1.551 GB, free: 14.05 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/1.274, allocations: 27.98 kB / 1.551 GB, free: 14.03 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001083/1.275, allocations: 0.7038 MB / 1.551 GB, free: 13.31 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.21e-07/1.275, allocations: 0 / 1.551 GB, free: 13.31 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008621/1.276, allocations: 263.9 kB / 1.551 GB, free: 13.05 MB / 1.232 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.0003906/1.276, allocations: 197.8 kB / 1.552 GB, free: 12.85 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.000985/1.277, allocations: 496.2 kB / 1.552 GB, free: 12.37 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.277, allocations: 7.938 kB / 1.552 GB, free: 12.36 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002853/1.278, allocations: 182.4 kB / 1.552 GB, free: 12.18 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/1.28, allocations: 0.6197 MB / 1.553 GB, free: 11.57 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/1.283, allocations: 1.944 MB / 1.555 GB, free: 9.539 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008475/1.284, allocations: 1.103 MB / 1.556 GB, free: 8.406 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/1.284, allocations: 79.42 kB / 1.556 GB, free: 8.328 MB / 1.232 GB Notification: Performance of SimCode: time 5.71e-07/1.284, allocations: 0 / 1.556 GB, free: 8.328 MB / 1.232 GB Notification: Performance of Templates: time 0.02659/1.311, allocations: 16.58 MB / 1.572 GB, free: 7.91 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: 14.833680347001064]