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.001247/0.001247, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001377/0.001377, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.364/1.364, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.961/2.961, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) [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.002045/0.002045, allocations: 61.45 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3249, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.206/0.5309, allocations: 168.3 MB / 1.491 GB, free: 8.559 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.5421, allocations: 5.414 MB / 1.496 GB, free: 3.129 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.5435, allocations: 55.5 kB / 1.496 GB, free: 3.074 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.5453, allocations: 0.5474 MB / 1.497 GB, free: 2.523 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005485/0.5508, allocations: 1.925 MB / 1.499 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.5542, allocations: 1.209 MB / 1.5 GB, free: 15.39 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004444/0.5587, allocations: 3.033 MB / 1.503 GB, free: 12.35 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.5601, allocations: 0.8244 MB / 1.504 GB, free: 11.5 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.5628, allocations: 1.324 MB / 1.505 GB, free: 10.18 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002453/0.5653, allocations: 1.026 MB / 1.506 GB, free: 9.152 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000319/0.5656, allocations: 120 kB / 1.506 GB, free: 9.035 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.5686, allocations: 1.208 MB / 1.507 GB, free: 7.824 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0009522/0.5696, allocations: 0.5804 MB / 1.508 GB, free: 7.242 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.5711, allocations: 0.6069 MB / 1.508 GB, free: 6.633 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004601/0.5757, allocations: 2.309 MB / 1.511 GB, free: 4.316 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5757, allocations: 4 kB / 1.511 GB, free: 4.312 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5757, allocations: 0 / 1.511 GB, free: 4.312 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.745e-05/0.5758, allocations: 3.938 kB / 1.511 GB, free: 4.309 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.003399/0.5792, allocations: 1.586 MB / 1.512 GB, free: 2.684 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.5792, allocations: 8.031 kB / 1.512 GB, free: 2.676 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.906e-05/0.5792, allocations: 26 kB / 1.512 GB, free: 2.652 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002202/0.5795, allocations: 156.2 kB / 1.512 GB, free: 2.492 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/0.5816, allocations: 334.9 kB / 1.513 GB, free: 2.164 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.5833, allocations: 0.8384 MB / 1.514 GB, free: 1.297 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.479e-05/0.5834, allocations: 85.86 kB / 1.514 GB, free: 1.211 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.5835, allocations: 99.94 kB / 1.514 GB, free: 1.113 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.5858, allocations: 1.537 MB / 1.515 GB, free: 15.46 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.5859, allocations: 0 / 1.515 GB, free: 15.46 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.586, allocations: 47.98 kB / 1.515 GB, free: 15.41 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-05/0.586, allocations: 38 kB / 1.515 GB, free: 15.38 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.5878, allocations: 0.9915 MB / 1.516 GB, free: 14.38 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.006116/0.5939, allocations: 2.907 MB / 1.519 GB, free: 11.42 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000942/0.5948, allocations: 0.5707 MB / 1.52 GB, free: 10.84 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/0.5953, allocations: 318.5 kB / 1.52 GB, free: 10.52 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.5955, allocations: 32.41 kB / 1.52 GB, free: 10.49 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.5955, allocations: 43 kB / 1.52 GB, free: 10.44 MB / 1.217 GB Notification: Performance of pre-optimization done (n=53): time 2.254e-06/0.5955, allocations: 0 / 1.52 GB, free: 10.44 MB / 1.217 GB Notification: Performance of matching and sorting (n=55): time 0.005979/0.6015, allocations: 1.908 MB / 1.522 GB, free: 8.488 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.6016, allocations: 63.91 kB / 1.522 GB, free: 8.414 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.6035, allocations: 0.8804 MB / 1.523 GB, free: 7.527 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.6036, allocations: 41.7 kB / 1.523 GB, free: 7.48 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006766/0.6043, allocations: 0.5274 MB / 1.523 GB, free: 6.945 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/0.6046, allocations: 202.2 kB / 1.524 GB, free: 6.746 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.605, allocations: 138.6 kB / 1.524 GB, free: 6.605 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.6052, allocations: 334 kB / 1.524 GB, free: 6.273 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006153/0.6058, allocations: 285.8 kB / 1.524 GB, free: 5.992 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.6068, allocations: 484.5 kB / 1.525 GB, free: 5.457 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.005897/0.6127, allocations: 1.673 MB / 1.526 GB, free: 3.73 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.6127, allocations: 8 kB / 1.526 GB, free: 3.723 MB / 1.217 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002624/0.6154, allocations: 0.925 MB / 1.527 GB, free: 2.781 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.6154, allocations: 11.94 kB / 1.527 GB, free: 2.77 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.6154, allocations: 4 kB / 1.527 GB, free: 2.766 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/0.6157, allocations: 94.52 kB / 1.527 GB, free: 2.664 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.6168, allocations: 167.7 kB / 1.528 GB, free: 2.5 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00562/0.6224, allocations: 4.307 MB / 1.532 GB, free: 13.85 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.6239, allocations: 31.92 kB / 1.532 GB, free: 13.82 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-05/0.624, allocations: 31.94 kB / 1.532 GB, free: 13.79 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.0008571/0.6248, allocations: 363.5 kB / 1.532 GB, free: 13.43 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.6251, allocations: 99.39 kB / 1.532 GB, free: 13.33 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.6253, allocations: 113.2 kB / 1.532 GB, free: 13.22 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.6254, allocations: 8 kB / 1.532 GB, free: 13.21 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.6254, allocations: 0 / 1.532 GB, free: 13.21 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001832/0.6272, allocations: 0.7599 MB / 1.533 GB, free: 12.4 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004865/0.6321, allocations: 1.816 MB / 1.535 GB, free: 10.49 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.6321, allocations: 0 / 1.535 GB, free: 10.49 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.6331, allocations: 152.2 kB / 1.535 GB, free: 10.34 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001483/0.6333, allocations: 36.83 kB / 1.535 GB, free: 10.3 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.966e-05/0.6333, allocations: 16 kB / 1.535 GB, free: 10.29 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.6354, allocations: 1.498 MB / 1.537 GB, free: 8.668 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.6354, allocations: 4 kB / 1.537 GB, free: 8.664 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/0.6384, allocations: 1.214 MB / 1.538 GB, free: 7.391 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005024/0.6389, allocations: 183.3 kB / 1.538 GB, free: 7.211 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.639, allocations: 16 kB / 1.538 GB, free: 7.195 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008387/0.6399, allocations: 30.48 kB / 1.538 GB, free: 7.168 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.64, allocations: 51.86 kB / 1.538 GB, free: 7.117 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/0.64, allocations: 35.92 kB / 1.538 GB, free: 7.082 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008935/0.6409, allocations: 0.62 MB / 1.539 GB, free: 6.465 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6409, allocations: 3.938 kB / 1.539 GB, free: 6.461 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001032/0.642, allocations: 300 kB / 1.539 GB, free: 6.168 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.002729/0.6447, allocations: 1.832 MB / 1.541 GB, free: 4.27 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.6464, allocations: 0.9913 MB / 1.542 GB, free: 3.238 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.6464, allocations: 0 / 1.542 GB, free: 3.238 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0007829/0.6472, allocations: 434.4 kB / 1.542 GB, free: 2.801 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/0.6503, allocations: 0.6501 MB / 1.543 GB, free: 2.168 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.6628, allocations: 7.973 MB / 1.551 GB, free: 9.875 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006802/0.6635, allocations: 0.5743 MB / 1.551 GB, free: 9.27 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009758/0.6645, allocations: 252.4 kB / 1.551 GB, free: 9.02 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005867/0.665, allocations: 383.3 kB / 1.552 GB, free: 8.645 MB / 1.248 GB Notification: Performance of SimCode: time 9.32e-07/0.6651, allocations: 0 / 1.552 GB, free: 8.645 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07211/0.7372, allocations: 33.25 MB / 1.584 GB, free: 8.191 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.3, allocations: 6.062 kB / 1.584 GB, free: 8.188 MB / 1.279 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 420.0] 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: 21.624163792002946]