Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007737/0.007737, allocations: 102.8 kB / 15.74 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 197.7 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2636, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7415/1.005, allocations: 190.5 MB / 1.352 GB, free: 2.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009102/1.014, allocations: 5.706 MB / 1.358 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/1.015, allocations: 36.94 kB / 1.358 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/1.017, allocations: 0.5965 MB / 1.358 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004362/1.021, allocations: 1.905 MB / 1.36 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002795/1.024, allocations: 1.185 MB / 1.361 GB, free: 12.74 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003486/1.027, allocations: 2.957 MB / 1.364 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/1.029, allocations: 1.122 MB / 1.365 GB, free: 10.92 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/1.031, allocations: 1.11 MB / 1.366 GB, free: 10.4 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/1.032, allocations: 0.9706 MB / 1.367 GB, free: 9.965 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002089/1.033, allocations: 122.1 kB / 1.368 GB, free: 9.965 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0029/1.035, allocations: 1.452 MB / 1.369 GB, free: 9.195 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000592/1.036, allocations: 0.5682 MB / 1.37 GB, free: 8.82 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000794/1.037, allocations: 0.7214 MB / 1.37 GB, free: 8.359 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002884/1.04, allocations: 2.339 MB / 1.373 GB, free: 6.84 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/1.04, allocations: 0 / 1.373 GB, free: 6.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/1.04, allocations: 0 / 1.373 GB, free: 6.84 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.875e-05/1.04, allocations: 0 / 1.373 GB, free: 6.84 MB / 1.045 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.002512/1.042, allocations: 1.669 MB / 1.374 GB, free: 5.582 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/1.042, allocations: 9.531 kB / 1.374 GB, free: 5.582 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/1.043, allocations: 155.9 kB / 1.374 GB, free: 5.461 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/1.045, allocations: 331 kB / 1.375 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/1.046, allocations: 0.921 MB / 1.376 GB, free: 4.613 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/1.046, allocations: 74 kB / 1.376 GB, free: 4.582 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/1.046, allocations: 101.4 kB / 1.376 GB, free: 4.547 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/1.048, allocations: 1.086 MB / 1.377 GB, free: 3.941 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/1.048, allocations: 0 / 1.377 GB, free: 3.941 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.814e-05/1.048, allocations: 45.69 kB / 1.377 GB, free: 3.906 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.223e-05/1.048, allocations: 41.23 kB / 1.377 GB, free: 3.898 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/1.05, allocations: 0.9964 MB / 1.378 GB, free: 3.414 MB / 1.045 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.005757/1.056, allocations: 4.229 MB / 1.382 GB, free: 20 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008352/1.056, allocations: 0.594 MB / 1.382 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004712/1.057, allocations: 350 kB / 1.383 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/1.057, allocations: 103.3 kB / 1.383 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/1.057, allocations: 44.28 kB / 1.383 GB, free: 15.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=53): time 1.733e-06/1.057, allocations: 0 / 1.383 GB, free: 15.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=55): time 0.00373/1.061, allocations: 2.216 MB / 1.385 GB, free: 13.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/1.061, allocations: 61.84 kB / 1.385 GB, free: 13.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/1.062, allocations: 0.8792 MB / 1.386 GB, free: 13.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.731e-05/1.062, allocations: 42.36 kB / 1.386 GB, free: 13.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/1.062, allocations: 0.5267 MB / 1.387 GB, free: 12.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/1.063, allocations: 203.4 kB / 1.387 GB, free: 12.65 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/1.063, allocations: 136.1 kB / 1.387 GB, free: 12.57 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.063, allocations: 334 kB / 1.387 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005935/1.064, allocations: 280.9 kB / 1.388 GB, free: 12.11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000654/1.064, allocations: 442 kB / 1.388 GB, free: 11.8 MB / 1.061 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.004009/1.068, allocations: 1.742 MB / 1.39 GB, free: 10.79 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.068, allocations: 0 / 1.39 GB, free: 10.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001675/1.07, allocations: 0.9291 MB / 1.391 GB, free: 10.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.07, allocations: 10.88 kB / 1.391 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.07, allocations: 5.188 kB / 1.391 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/1.07, allocations: 99.08 kB / 1.391 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007169/1.071, allocations: 163.7 kB / 1.391 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/1.075, allocations: 4.636 MB / 1.395 GB, free: 5.613 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009928/1.076, allocations: 40.45 kB / 1.395 GB, free: 5.586 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/1.076, allocations: 26.91 kB / 1.395 GB, free: 5.582 MB / 1.061 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.0005303/1.076, allocations: 347.4 kB / 1.396 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/1.077, allocations: 101.6 kB / 1.396 GB, free: 5.277 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/1.077, allocations: 109.7 kB / 1.396 GB, free: 5.199 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.077, allocations: 8.859 kB / 1.396 GB, free: 5.195 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.077, allocations: 0 / 1.396 GB, free: 5.195 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001027/1.078, allocations: 0.7687 MB / 1.397 GB, free: 4.664 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/1.081, allocations: 1.992 MB / 1.399 GB, free: 3.285 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.081, allocations: 7.062 kB / 1.399 GB, free: 3.281 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006529/1.082, allocations: 147.6 kB / 1.399 GB, free: 3.242 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.065e-05/1.082, allocations: 43.23 kB / 1.399 GB, free: 3.219 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/1.082, allocations: 15.12 kB / 1.399 GB, free: 3.211 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/1.083, allocations: 1.604 MB / 1.4 GB, free: 1.656 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.083, allocations: 5.25 kB / 1.4 GB, free: 1.656 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/1.085, allocations: 1.209 MB / 1.402 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005709/1.086, allocations: 263.2 kB / 1.402 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/1.086, allocations: 15.56 kB / 1.402 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007703/1.087, allocations: 40.39 kB / 1.402 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/1.087, allocations: 48.12 kB / 1.402 GB, free: 0.625 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.97e-05/1.087, allocations: 32.27 kB / 1.402 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007727/1.088, allocations: 0.6102 MB / 1.403 GB, free: 284 kB / 1.061 GB Notification: Performance of sort global known variables: time 2.5e-07/1.088, allocations: 0 / 1.403 GB, free: 284 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009808/1.089, allocations: 304.6 kB / 1.403 GB, free: 260 kB / 1.061 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.00222/1.091, allocations: 1.852 MB / 1.405 GB, free: 14.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001511/1.092, allocations: 1.019 MB / 1.406 GB, free: 14.08 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.092, allocations: 3.938 kB / 1.406 GB, free: 14.07 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006199/1.093, allocations: 446.7 kB / 1.406 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/1.096, allocations: 0.6504 MB / 1.407 GB, free: 12.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/1.107, allocations: 7.969 MB / 1.415 GB, free: 4.699 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008574/1.108, allocations: 1.17 MB / 1.416 GB, free: 3.496 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009569/1.109, allocations: 248.4 kB / 1.416 GB, free: 3.25 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006733/1.11, allocations: 383.3 kB / 1.416 GB, free: 2.875 MB / 1.076 GB Notification: Performance of SimCode: time 9.82e-07/1.11, allocations: 4 kB / 1.416 GB, free: 2.871 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06421/1.174, allocations: 30.49 MB / 1.446 GB, free: 4.922 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.72, allocations: 10.72 kB / 1.446 GB, free: 4.918 MB / 1.107 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches