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.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006455/0.006455, allocations: 98.75 kB / 15.73 MB, free: 6.059 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.001601/0.001602, allocations: 189 kB / 16.67 MB, free: 5.969 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.622/2.622, allocations: 469.4 MB / 0.7422 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 71.89 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2713, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7563/1.028, allocations: 190.5 MB / 1.406 GB, free: 452 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.008862/1.037, allocations: 5.713 MB / 1.411 GB, free: 11.79 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/1.038, allocations: 41.19 kB / 1.411 GB, free: 11.77 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001481/1.039, allocations: 0.5958 MB / 1.412 GB, free: 11.28 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004226/1.044, allocations: 1.908 MB / 1.414 GB, free: 9.805 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/1.046, allocations: 1.195 MB / 1.415 GB, free: 8.895 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003395/1.05, allocations: 2.952 MB / 1.418 GB, free: 7.207 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/1.051, allocations: 1.128 MB / 1.419 GB, free: 6.535 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/1.053, allocations: 1.105 MB / 1.42 GB, free: 5.883 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/1.055, allocations: 0.973 MB / 1.421 GB, free: 5.316 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002461/1.055, allocations: 122.6 kB / 1.421 GB, free: 5.316 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/1.058, allocations: 1.452 MB / 1.423 GB, free: 4.547 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007145/1.059, allocations: 0.5676 MB / 1.423 GB, free: 4.172 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/1.06, allocations: 0.7258 MB / 1.424 GB, free: 3.707 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003642/1.064, allocations: 2.338 MB / 1.426 GB, free: 2.188 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.064, allocations: 3.984 kB / 1.426 GB, free: 2.184 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.603e-06/1.064, allocations: 1.812 kB / 1.426 GB, free: 2.184 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.682e-05/1.064, allocations: 0 / 1.426 GB, free: 2.184 MB / 1.107 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.003447/1.067, allocations: 1.649 MB / 1.428 GB, free: 0.9453 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/1.067, allocations: 10.69 kB / 1.428 GB, free: 0.9453 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/1.067, allocations: 159.5 kB / 1.428 GB, free: 0.8203 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/1.07, allocations: 342.6 kB / 1.428 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/1.071, allocations: 0.9184 MB / 1.429 GB, free: 15.54 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/1.071, allocations: 74 kB / 1.429 GB, free: 15.47 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/1.071, allocations: 96 kB / 1.429 GB, free: 15.38 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/1.073, allocations: 1.089 MB / 1.43 GB, free: 14.29 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/1.073, allocations: 0 / 1.43 GB, free: 14.29 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/1.073, allocations: 44 kB / 1.43 GB, free: 14.24 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-05/1.073, allocations: 41.98 kB / 1.43 GB, free: 14.2 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/1.075, allocations: 0.9915 MB / 1.431 GB, free: 13.21 MB / 1.123 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.006034/1.081, allocations: 4.234 MB / 1.436 GB, free: 8.676 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008824/1.082, allocations: 0.5947 MB / 1.436 GB, free: 8.074 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/1.082, allocations: 342.5 kB / 1.436 GB, free: 7.734 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/1.083, allocations: 105.5 kB / 1.437 GB, free: 7.613 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/1.083, allocations: 43 kB / 1.437 GB, free: 7.562 MB / 1.123 GB Notification: Performance of pre-optimization done (n=53): time 2.324e-06/1.083, allocations: 0 / 1.437 GB, free: 7.562 MB / 1.123 GB Notification: Performance of matching and sorting (n=55): time 0.003963/1.087, allocations: 2.222 MB / 1.439 GB, free: 5.223 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/1.087, allocations: 63.91 kB / 1.439 GB, free: 5.148 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/1.088, allocations: 0.8765 MB / 1.44 GB, free: 4.266 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.022e-05/1.088, allocations: 41.7 kB / 1.44 GB, free: 4.219 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/1.088, allocations: 0.5274 MB / 1.44 GB, free: 3.684 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/1.088, allocations: 198.3 kB / 1.44 GB, free: 3.488 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003083/1.089, allocations: 134.6 kB / 1.441 GB, free: 3.352 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.089, allocations: 338 kB / 1.441 GB, free: 3.016 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007758/1.09, allocations: 285.8 kB / 1.441 GB, free: 2.738 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009275/1.091, allocations: 434.8 kB / 1.442 GB, free: 2.266 MB / 1.123 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.006131/1.097, allocations: 1.745 MB / 1.443 GB, free: 464 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.097, allocations: 4 kB / 1.443 GB, free: 460 kB / 1.123 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002461/1.099, allocations: 0.9262 MB / 1.444 GB, free: 15.51 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/1.099, allocations: 7.938 kB / 1.444 GB, free: 15.5 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/1.099, allocations: 4.5 kB / 1.444 GB, free: 15.5 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003097/1.1, allocations: 110.4 kB / 1.444 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/1.101, allocations: 159.8 kB / 1.444 GB, free: 15.22 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005274/1.106, allocations: 4.632 MB / 1.449 GB, free: 10.17 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/1.108, allocations: 31.94 kB / 1.449 GB, free: 10.14 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.275e-05/1.108, allocations: 31.98 kB / 1.449 GB, free: 10.11 MB / 1.139 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.0008257/1.108, allocations: 349.6 kB / 1.449 GB, free: 9.758 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003274/1.109, allocations: 104.3 kB / 1.449 GB, free: 9.656 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/1.109, allocations: 109.2 kB / 1.45 GB, free: 9.547 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/1.109, allocations: 7.938 kB / 1.45 GB, free: 9.539 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.109, allocations: 0 / 1.45 GB, free: 9.539 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00171/1.111, allocations: 0.7691 MB / 1.45 GB, free: 8.715 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004839/1.116, allocations: 2 MB / 1.452 GB, free: 6.613 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/1.116, allocations: 4 kB / 1.452 GB, free: 6.609 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/1.117, allocations: 149.2 kB / 1.452 GB, free: 6.465 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/1.117, allocations: 40.83 kB / 1.452 GB, free: 6.422 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/1.117, allocations: 16 kB / 1.452 GB, free: 6.406 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/1.119, allocations: 1.602 MB / 1.454 GB, free: 4.66 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.119, allocations: 7.938 kB / 1.454 GB, free: 4.652 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/1.121, allocations: 1.208 MB / 1.455 GB, free: 3.387 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007421/1.122, allocations: 268.3 kB / 1.455 GB, free: 3.105 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/1.122, allocations: 16 kB / 1.455 GB, free: 3.09 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/1.124, allocations: 27.98 kB / 1.455 GB, free: 3.062 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/1.124, allocations: 51.81 kB / 1.456 GB, free: 3.012 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/1.124, allocations: 31.98 kB / 1.456 GB, free: 2.98 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001207/1.125, allocations: 0.6083 MB / 1.456 GB, free: 2.379 MB / 1.139 GB Notification: Performance of sort global known variables: time 3.21e-07/1.125, allocations: 4 kB / 1.456 GB, free: 2.375 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001487/1.127, allocations: 300 kB / 1.456 GB, free: 2.082 MB / 1.139 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.003422/1.13, allocations: 1.851 MB / 1.458 GB, free: 172 kB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002279/1.132, allocations: 1.01 MB / 1.459 GB, free: 15.12 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.132, allocations: 4 kB / 1.459 GB, free: 15.11 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009082/1.133, allocations: 444.1 kB / 1.46 GB, free: 14.67 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00463/1.138, allocations: 0.6576 MB / 1.46 GB, free: 14.03 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/1.15, allocations: 7.973 MB / 1.468 GB, free: 5.734 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000808/1.151, allocations: 1.17 MB / 1.469 GB, free: 4.535 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008639/1.152, allocations: 248.4 kB / 1.469 GB, free: 4.289 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/1.152, allocations: 387.3 kB / 1.47 GB, free: 3.91 MB / 1.154 GB Notification: Performance of SimCode: time 8.31e-07/1.152, allocations: 0 / 1.47 GB, free: 3.91 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0666/1.219, allocations: 30.49 MB / 1.5 GB, free: 5.922 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/14.06, allocations: 10.38 kB / 1.5 GB, free: 5.914 MB / 1.186 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv","/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) Reference file matches