Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001484/0.001484, 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.001723/0.001723, allocations: 212 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.328/1.328, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.927/2.927, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",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.002141/0.002141, allocations: 67.48 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3283, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2066/0.5349, allocations: 168.4 MB / 1.528 GB, free: 5.016 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009465/0.5444, allocations: 5.432 MB / 1.533 GB, free: 15.58 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.5455, allocations: 51.56 kB / 1.533 GB, free: 15.53 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.5471, allocations: 0.5513 MB / 1.534 GB, free: 14.97 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004952/0.5521, allocations: 1.918 MB / 1.536 GB, free: 13.05 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.5552, allocations: 1.204 MB / 1.537 GB, free: 11.85 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004001/0.5592, allocations: 3.018 MB / 1.54 GB, free: 8.824 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.5606, allocations: 0.8087 MB / 1.541 GB, free: 7.996 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.563, allocations: 1.328 MB / 1.542 GB, free: 6.664 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.5654, allocations: 0.9886 MB / 1.543 GB, free: 5.676 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003254/0.5657, allocations: 120 kB / 1.543 GB, free: 5.559 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.5683, allocations: 1.188 MB / 1.544 GB, free: 4.367 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0007871/0.5691, allocations: 0.5882 MB / 1.545 GB, free: 3.777 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.5702, allocations: 0.6069 MB / 1.545 GB, free: 3.168 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003445/0.5736, allocations: 2.309 MB / 1.548 GB, free: 0.8516 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5736, allocations: 0 / 1.548 GB, free: 0.8516 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5736, allocations: 0 / 1.548 GB, free: 0.8516 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.219e-05/0.5737, allocations: 0 / 1.548 GB, free: 0.8516 MB / 1.232 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.003261/0.5769, allocations: 1.586 MB / 1.549 GB, free: 15.23 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.577, allocations: 12.03 kB / 1.549 GB, free: 15.21 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002537/0.5772, allocations: 152.2 kB / 1.549 GB, free: 15.06 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.5793, allocations: 346.8 kB / 1.55 GB, free: 14.72 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.5811, allocations: 0.8383 MB / 1.55 GB, free: 13.85 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.5e-05/0.5812, allocations: 78 kB / 1.55 GB, free: 13.78 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.5814, allocations: 99.98 kB / 1.551 GB, free: 13.68 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.5836, allocations: 1.537 MB / 1.552 GB, free: 12.03 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.5836, allocations: 0 / 1.552 GB, free: 12.03 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.776e-05/0.5837, allocations: 44 kB / 1.552 GB, free: 11.98 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/0.5838, allocations: 37.98 kB / 1.552 GB, free: 11.95 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.5855, allocations: 0.9915 MB / 1.553 GB, free: 10.95 MB / 1.248 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.006157/0.5917, allocations: 2.907 MB / 1.556 GB, free: 7.984 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009507/0.5926, allocations: 0.56 MB / 1.556 GB, free: 7.418 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005351/0.5932, allocations: 330.4 kB / 1.557 GB, free: 7.09 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.5933, allocations: 24.42 kB / 1.557 GB, free: 7.066 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.5934, allocations: 43 kB / 1.557 GB, free: 7.016 MB / 1.248 GB Notification: Performance of pre-optimization done (n=53): time 1.943e-06/0.5934, allocations: 4 kB / 1.557 GB, free: 7.012 MB / 1.248 GB Notification: Performance of matching and sorting (n=55): time 0.004333/0.5977, allocations: 1.919 MB / 1.559 GB, free: 5.043 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.5977, allocations: 67.84 kB / 1.559 GB, free: 4.965 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.599, allocations: 0.8882 MB / 1.56 GB, free: 4.07 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/0.599, allocations: 37.7 kB / 1.56 GB, free: 4.027 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004454/0.5995, allocations: 0.5235 MB / 1.56 GB, free: 3.496 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.5997, allocations: 202.3 kB / 1.56 GB, free: 3.297 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.5999, allocations: 130.6 kB / 1.561 GB, free: 3.164 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6001, allocations: 334 kB / 1.561 GB, free: 2.832 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005286/0.6006, allocations: 285.8 kB / 1.561 GB, free: 2.551 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007067/0.6013, allocations: 492.4 kB / 1.562 GB, free: 2.008 MB / 1.248 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.004015/0.6053, allocations: 1.668 MB / 1.563 GB, free: 300 kB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6053, allocations: 0 / 1.563 GB, free: 300 kB / 1.248 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001622/0.6069, allocations: 0.9285 MB / 1.564 GB, free: 15.34 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.607, allocations: 10.2 kB / 1.564 GB, free: 15.34 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.607, allocations: 11.94 kB / 1.564 GB, free: 15.32 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.6072, allocations: 98.45 kB / 1.564 GB, free: 15.22 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007273/0.6079, allocations: 163.8 kB / 1.564 GB, free: 15.06 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003862/0.6118, allocations: 4.31 MB / 1.569 GB, free: 10.41 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000815/0.6126, allocations: 31.94 kB / 1.569 GB, free: 10.38 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.6127, allocations: 24 kB / 1.569 GB, free: 10.35 MB / 1.264 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.0005252/0.6132, allocations: 353.7 kB / 1.569 GB, free: 9.996 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.6134, allocations: 103.4 kB / 1.569 GB, free: 9.895 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.6136, allocations: 105.2 kB / 1.569 GB, free: 9.789 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.6136, allocations: 8 kB / 1.569 GB, free: 9.781 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.6136, allocations: 0 / 1.569 GB, free: 9.781 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/0.6147, allocations: 0.7676 MB / 1.57 GB, free: 8.969 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/0.6181, allocations: 1.812 MB / 1.572 GB, free: 7.062 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.6181, allocations: 7.938 kB / 1.572 GB, free: 7.055 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006653/0.6188, allocations: 152.2 kB / 1.572 GB, free: 6.906 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.053e-05/0.6189, allocations: 40.81 kB / 1.572 GB, free: 6.863 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.6189, allocations: 16 kB / 1.572 GB, free: 6.848 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.6202, allocations: 1.502 MB / 1.573 GB, free: 5.227 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6202, allocations: 0 / 1.573 GB, free: 5.227 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.622, allocations: 1.207 MB / 1.575 GB, free: 3.965 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005193/0.6226, allocations: 183.2 kB / 1.575 GB, free: 3.785 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.6227, allocations: 19.98 kB / 1.575 GB, free: 3.766 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000691/0.6234, allocations: 31.98 kB / 1.575 GB, free: 3.734 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.6235, allocations: 47.8 kB / 1.575 GB, free: 3.688 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.857e-05/0.6236, allocations: 35.98 kB / 1.575 GB, free: 3.652 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008316/0.6244, allocations: 0.6122 MB / 1.576 GB, free: 3.047 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6244, allocations: 4 kB / 1.576 GB, free: 3.043 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009148/0.6253, allocations: 307.9 kB / 1.576 GB, free: 2.742 MB / 1.264 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.002322/0.6276, allocations: 1.831 MB / 1.578 GB, free: 0.8438 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.6291, allocations: 0.98 MB / 1.579 GB, free: 15.82 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.6291, allocations: 4.062 kB / 1.579 GB, free: 15.82 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006196/0.6298, allocations: 430.2 kB / 1.579 GB, free: 15.39 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.6324, allocations: 0.6498 MB / 1.58 GB, free: 14.75 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.6436, allocations: 7.986 MB / 1.587 GB, free: 6.445 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006654/0.6442, allocations: 0.5743 MB / 1.588 GB, free: 5.84 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0007908/0.645, allocations: 252.4 kB / 1.588 GB, free: 5.59 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.6455, allocations: 379.3 kB / 1.589 GB, free: 5.219 MB / 1.279 GB Notification: Performance of SimCode: time 5.31e-07/0.6455, allocations: 4 kB / 1.589 GB, free: 5.215 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6823/1.328, allocations: 33.57 MB / 1.621 GB, free: 245.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.59, allocations: 11.45 kB / 1.621 GB, free: 245.9 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.67242556856945]