Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.001828/0.001828, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002251/0.002251, allocations: 212 kB / 22.99 MB, free: 4.98 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 / 256.8 MB, free: 7.805 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.094/3.094, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [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.002095/0.002095, allocations: 70.42 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2841, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2048/0.4889, allocations: 168.5 MB / 1.492 GB, free: 7.898 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009506/0.4984, allocations: 5.428 MB / 1.497 GB, free: 2.461 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.4995, allocations: 55.56 kB / 1.497 GB, free: 2.406 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.501, allocations: 0.5435 MB / 1.497 GB, free: 1.859 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004657/0.5056, allocations: 1.925 MB / 1.499 GB, free: 15.93 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003038/0.5086, allocations: 1.217 MB / 1.501 GB, free: 14.71 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003775/0.5124, allocations: 3.032 MB / 1.504 GB, free: 11.68 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.5136, allocations: 0.8243 MB / 1.504 GB, free: 10.83 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.5159, allocations: 1.327 MB / 1.506 GB, free: 9.5 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.5178, allocations: 1.024 MB / 1.507 GB, free: 8.477 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.518, allocations: 120 kB / 1.507 GB, free: 8.359 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.5203, allocations: 1.208 MB / 1.508 GB, free: 7.148 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006096/0.5209, allocations: 0.5843 MB / 1.508 GB, free: 6.562 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006966/0.5216, allocations: 0.5991 MB / 1.509 GB, free: 5.961 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.5245, allocations: 2.316 MB / 1.511 GB, free: 3.637 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5245, allocations: 0 / 1.511 GB, free: 3.637 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5245, allocations: 0 / 1.511 GB, free: 3.637 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.5245, allocations: 3.938 kB / 1.511 GB, free: 3.633 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002757/0.5273, allocations: 1.582 MB / 1.513 GB, free: 2.012 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.5273, allocations: 8.031 kB / 1.513 GB, free: 2.004 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.5294, allocations: 334.9 kB / 1.513 GB, free: 1.676 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.5312, allocations: 0.8461 MB / 1.514 GB, free: 0.8008 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.087e-05/0.5312, allocations: 77.94 kB / 1.514 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.5314, allocations: 96 kB / 1.514 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.5337, allocations: 1.54 MB / 1.516 GB, free: 14.97 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.5337, allocations: 0 / 1.516 GB, free: 14.97 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.5338, allocations: 47.98 kB / 1.516 GB, free: 14.93 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-05/0.5339, allocations: 34 kB / 1.516 GB, free: 14.89 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.5356, allocations: 0.9915 MB / 1.517 GB, free: 13.9 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.005793/0.5414, allocations: 2.718 MB / 1.519 GB, free: 11.14 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009695/0.5424, allocations: 0.5657 MB / 1.52 GB, free: 10.56 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.5429, allocations: 320.1 kB / 1.52 GB, free: 10.24 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.5431, allocations: 24.42 kB / 1.52 GB, free: 10.22 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.5431, allocations: 43 kB / 1.52 GB, free: 10.17 MB / 1.217 GB Notification: Performance of pre-optimization done (n=53): time 2.034e-06/0.5431, allocations: 11.94 kB / 1.52 GB, free: 10.16 MB / 1.217 GB Notification: Performance of matching and sorting (n=55): time 0.004044/0.5472, allocations: 1.896 MB / 1.522 GB, free: 8.223 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.5472, allocations: 59.91 kB / 1.522 GB, free: 8.152 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008737/0.5481, allocations: 0.6957 MB / 1.523 GB, free: 7.445 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.5482, allocations: 37.7 kB / 1.523 GB, free: 7.402 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/0.5486, allocations: 0.5429 MB / 1.523 GB, free: 6.852 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.5488, allocations: 206.2 kB / 1.524 GB, free: 6.648 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.549, allocations: 134.6 kB / 1.524 GB, free: 6.512 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.5492, allocations: 386.8 kB / 1.524 GB, free: 6.125 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.5498, allocations: 289.8 kB / 1.524 GB, free: 5.84 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006788/0.5504, allocations: 484.5 kB / 1.525 GB, free: 5.305 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.004333/0.5548, allocations: 1.673 MB / 1.527 GB, free: 3.578 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5548, allocations: 4 kB / 1.527 GB, free: 3.574 MB / 1.217 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001589/0.5564, allocations: 0.9089 MB / 1.527 GB, free: 2.648 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.5564, allocations: 8.5 kB / 1.527 GB, free: 2.641 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.5564, allocations: 4 kB / 1.527 GB, free: 2.637 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.5566, allocations: 102.5 kB / 1.528 GB, free: 2.527 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008056/0.5574, allocations: 167.7 kB / 1.528 GB, free: 2.363 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003854/0.5613, allocations: 4.242 MB / 1.532 GB, free: 13.82 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007772/0.562, allocations: 28.03 kB / 1.532 GB, free: 13.79 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/0.5621, allocations: 31.97 kB / 1.532 GB, free: 13.76 MB / 1.232 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005033/0.5626, allocations: 348.1 kB / 1.532 GB, free: 13.41 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.5628, allocations: 95.42 kB / 1.532 GB, free: 13.32 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.563, allocations: 99.72 kB / 1.532 GB, free: 13.22 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.563, allocations: 4 kB / 1.532 GB, free: 13.21 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.563, allocations: 0 / 1.532 GB, free: 13.21 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001175/0.5641, allocations: 0.7599 MB / 1.533 GB, free: 12.4 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/0.5673, allocations: 1.697 MB / 1.535 GB, free: 10.62 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.5673, allocations: 4 kB / 1.535 GB, free: 10.62 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000753/0.5681, allocations: 148.2 kB / 1.535 GB, free: 10.48 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.703e-05/0.5682, allocations: 44.77 kB / 1.535 GB, free: 10.43 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.5682, allocations: 16 kB / 1.535 GB, free: 10.41 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.5696, allocations: 1.475 MB / 1.536 GB, free: 8.832 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5696, allocations: 4 kB / 1.536 GB, free: 8.828 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.5714, allocations: 1.191 MB / 1.538 GB, free: 7.578 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/0.5719, allocations: 175.5 kB / 1.538 GB, free: 7.406 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.572, allocations: 16 kB / 1.538 GB, free: 7.391 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007107/0.5727, allocations: 28.58 kB / 1.538 GB, free: 7.363 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.5728, allocations: 51.86 kB / 1.538 GB, free: 7.312 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.744e-05/0.5729, allocations: 31.92 kB / 1.538 GB, free: 7.281 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006238/0.5735, allocations: 487 kB / 1.538 GB, free: 6.809 MB / 1.232 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5735, allocations: 0 / 1.538 GB, free: 6.809 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008926/0.5744, allocations: 307.9 kB / 1.539 GB, free: 6.508 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003238/0.5747, allocations: 176.1 kB / 1.539 GB, free: 6.328 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00156/0.5763, allocations: 0.9832 MB / 1.54 GB, free: 5.309 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.5763, allocations: 4 kB / 1.54 GB, free: 5.305 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006811/0.577, allocations: 443.9 kB / 1.54 GB, free: 4.859 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.5793, allocations: 0.5205 MB / 1.541 GB, free: 4.352 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.5825, allocations: 2.106 MB / 1.543 GB, free: 2.176 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006691/0.5832, allocations: 0.5776 MB / 1.543 GB, free: 1.566 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006875/0.5839, allocations: 230.9 kB / 1.544 GB, free: 1.336 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.5841, allocations: 67.44 kB / 1.544 GB, free: 1.27 MB / 1.232 GB Notification: Performance of SimCode: time 3.9e-07/0.5841, allocations: 0 / 1.544 GB, free: 1.27 MB / 1.232 GB Notification: Performance of Templates: time 0.03475/0.6188, allocations: 21.69 MB / 1.565 GB, free: 12.05 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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: 9.338171158000478]