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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 104.6 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 190.1 kB / 22.1 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 225.6 MB / 250.8 MB, free: 2.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.144/3.144, allocations: 495.8 MB / 0.783 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 67.89 kB / 1.137 GB, free: 12.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224/1.227, allocations: 173.6 MB / 1.307 GB, free: 33.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.3051/1.532, allocations: 189.4 MB / 1.492 GB, free: 7.68 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0158/1.548, allocations: 5.709 MB / 1.497 GB, free: 3.039 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003461/1.551, allocations: 53.38 kB / 1.497 GB, free: 3.012 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.003024/1.554, allocations: 0.602 MB / 1.498 GB, free: 2.52 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.008455/1.562, allocations: 1.69 MB / 1.5 GB, free: 1.215 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005431/1.568, allocations: 1.263 MB / 1.501 GB, free: 264 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006545/1.574, allocations: 2.569 MB / 1.503 GB, free: 14.76 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002233/1.577, allocations: 0.7126 MB / 1.504 GB, free: 14.26 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004442/1.581, allocations: 1.25 MB / 1.505 GB, free: 13.34 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003327/1.584, allocations: 0.8645 MB / 1.506 GB, free: 12.48 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005436/1.585, allocations: 100 kB / 1.506 GB, free: 12.38 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004526/1.59, allocations: 1.263 MB / 1.507 GB, free: 11.11 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001098/1.591, allocations: 0.5064 MB / 1.508 GB, free: 10.61 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002132/1.593, allocations: 0.6222 MB / 1.508 GB, free: 9.98 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00664/1.599, allocations: 2.067 MB / 1.51 GB, free: 7.906 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/1.599, allocations: 3.984 kB / 1.51 GB, free: 7.902 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.114e-06/1.599, allocations: 0 / 1.51 GB, free: 7.902 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.257e-05/1.599, allocations: 0 / 1.51 GB, free: 7.902 MB / 1.186 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.004542/1.604, allocations: 1.438 MB / 1.512 GB, free: 6.426 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/1.604, allocations: 12.03 kB / 1.512 GB, free: 6.414 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/1.607, allocations: 331 kB / 1.512 GB, free: 6.09 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/1.609, allocations: 0.7401 MB / 1.513 GB, free: 5.324 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.799e-05/1.609, allocations: 66 kB / 1.513 GB, free: 5.258 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/1.609, allocations: 87.98 kB / 1.513 GB, free: 5.172 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/1.612, allocations: 1.067 MB / 1.514 GB, free: 4.066 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/1.612, allocations: 7.922 kB / 1.514 GB, free: 4.059 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/1.612, allocations: 40 kB / 1.514 GB, free: 4.02 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-05/1.612, allocations: 37.98 kB / 1.514 GB, free: 3.98 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/1.614, allocations: 0.8236 MB / 1.515 GB, free: 3.16 MB / 1.186 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.008531/1.622, allocations: 4.355 MB / 1.519 GB, free: 14.5 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007154/1.623, allocations: 356.5 kB / 1.52 GB, free: 14.14 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/1.623, allocations: 196.8 kB / 1.52 GB, free: 13.95 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/1.624, allocations: 23.98 kB / 1.52 GB, free: 13.92 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/1.624, allocations: 43.16 kB / 1.52 GB, free: 13.87 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 2.445e-06/1.624, allocations: 0 / 1.52 GB, free: 13.87 MB / 1.201 GB Notification: Performance of matching and sorting (n=38): time 0.003392/1.627, allocations: 1.273 MB / 1.521 GB, free: 12.57 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/1.627, allocations: 59.39 kB / 1.521 GB, free: 12.5 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/1.629, allocations: 1.004 MB / 1.522 GB, free: 11.47 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.604e-05/1.629, allocations: 33.7 kB / 1.522 GB, free: 11.43 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005754/1.63, allocations: 0.5002 MB / 1.523 GB, free: 10.93 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/1.63, allocations: 146.7 kB / 1.523 GB, free: 10.78 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/1.63, allocations: 126.2 kB / 1.523 GB, free: 10.65 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.63, allocations: 334 kB / 1.523 GB, free: 10.32 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005202/1.631, allocations: 233.2 kB / 1.523 GB, free: 10.09 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007191/1.632, allocations: 423.8 kB / 1.524 GB, free: 9.602 MB / 1.201 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.002852/1.634, allocations: 1.141 MB / 1.525 GB, free: 8.383 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/1.634, allocations: 4 kB / 1.525 GB, free: 8.379 MB / 1.201 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001744/1.636, allocations: 0.7775 MB / 1.526 GB, free: 7.594 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.636, allocations: 8 kB / 1.526 GB, free: 7.586 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.636, allocations: 4 kB / 1.526 GB, free: 7.582 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/1.636, allocations: 11.94 kB / 1.526 GB, free: 7.57 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/1.637, allocations: 144.2 kB / 1.526 GB, free: 7.43 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.955e-05/1.637, allocations: 15.92 kB / 1.526 GB, free: 7.414 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/1.638, allocations: 55.91 kB / 1.526 GB, free: 7.359 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.202e-05/1.638, allocations: 31.94 kB / 1.526 GB, free: 7.328 MB / 1.201 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.000603/1.639, allocations: 310.2 kB / 1.526 GB, free: 7.016 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/1.639, allocations: 107.4 kB / 1.526 GB, free: 6.91 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/1.639, allocations: 109 kB / 1.527 GB, free: 6.805 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.639, allocations: 4 kB / 1.527 GB, free: 6.801 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.639, allocations: 0 / 1.527 GB, free: 6.801 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008788/1.64, allocations: 0.6834 MB / 1.527 GB, free: 6.031 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/1.643, allocations: 1.548 MB / 1.529 GB, free: 4.383 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.643, allocations: 4 kB / 1.529 GB, free: 4.379 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/1.644, allocations: 84.34 kB / 1.529 GB, free: 4.297 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/1.644, allocations: 8 kB / 1.529 GB, free: 4.289 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/1.644, allocations: 19.98 kB / 1.529 GB, free: 4.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/1.644, allocations: 7.938 kB / 1.529 GB, free: 4.262 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.644, allocations: 8 kB / 1.529 GB, free: 4.254 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/1.645, allocations: 0.8295 MB / 1.53 GB, free: 3.359 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005215/1.646, allocations: 167.3 kB / 1.53 GB, free: 3.195 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/1.646, allocations: 15.94 kB / 1.53 GB, free: 3.18 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007551/1.647, allocations: 38.03 kB / 1.53 GB, free: 3.145 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/1.647, allocations: 39.83 kB / 1.53 GB, free: 3.105 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/1.647, allocations: 27.98 kB / 1.53 GB, free: 3.078 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001289/1.648, allocations: 0.7077 MB / 1.531 GB, free: 2.359 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.648, allocations: 0 / 1.531 GB, free: 2.359 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001065/1.649, allocations: 259.9 kB / 1.531 GB, free: 2.105 MB / 1.201 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.0006793/1.65, allocations: 211.1 kB / 1.531 GB, free: 1.898 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001207/1.651, allocations: 491.9 kB / 1.532 GB, free: 1.418 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.651, allocations: 0 / 1.532 GB, free: 1.418 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003015/1.651, allocations: 185.2 kB / 1.532 GB, free: 1.238 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/1.654, allocations: 0.6179 MB / 1.532 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/1.658, allocations: 1.873 MB / 1.534 GB, free: 14.68 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/1.659, allocations: 1.099 MB / 1.535 GB, free: 13.55 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001124/1.661, allocations: 252.3 kB / 1.535 GB, free: 13.3 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/1.661, allocations: 71.44 kB / 1.535 GB, free: 13.23 MB / 1.217 GB Notification: Performance of SimCode: time 8.22e-07/1.661, allocations: 4 kB / 1.536 GB, free: 13.23 MB / 1.217 GB Notification: Performance of Templates: time 0.04459/1.705, allocations: 20.39 MB / 1.555 GB, free: 9.121 MB / 1.232 GB " [Timeout remaining time 298] 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: 11.224969454109669]