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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007172/0.007172, allocations: 99.86 kB / 15.73 MB, free: 6.016 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.002044/0.002044, allocations: 190.7 kB / 16.67 MB, free: 5.934 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 482.4 MB / 0.7548 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 60.28 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2797, allocations: 162.2 MB / 1.241 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2085/0.4883, allocations: 190.5 MB / 1.428 GB, free: 9.965 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008973/0.4973, allocations: 5.715 MB / 1.433 GB, free: 4.238 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009868/0.4983, allocations: 39.75 kB / 1.433 GB, free: 4.199 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.4997, allocations: 0.5747 MB / 1.434 GB, free: 3.621 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004045/0.5038, allocations: 1.832 MB / 1.436 GB, free: 1.781 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.5065, allocations: 1.182 MB / 1.437 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003379/0.5099, allocations: 2.948 MB / 1.44 GB, free: 13.65 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.5113, allocations: 1.124 MB / 1.441 GB, free: 12.5 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.5131, allocations: 1.246 MB / 1.442 GB, free: 11.25 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.5148, allocations: 0.9505 MB / 1.443 GB, free: 10.31 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.515, allocations: 128 kB / 1.443 GB, free: 10.18 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.5175, allocations: 1.43 MB / 1.444 GB, free: 8.75 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005897/0.5181, allocations: 0.565 MB / 1.445 GB, free: 8.18 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007766/0.5189, allocations: 0.7195 MB / 1.446 GB, free: 7.457 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.5216, allocations: 2.344 MB / 1.448 GB, free: 5.105 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5216, allocations: 7.922 kB / 1.448 GB, free: 5.098 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5216, allocations: 0 / 1.448 GB, free: 5.098 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.5217, allocations: 0 / 1.448 GB, free: 5.098 MB / 1.17 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.002569/0.5242, allocations: 1.661 MB / 1.449 GB, free: 3.379 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.5243, allocations: 12.03 kB / 1.449 GB, free: 3.367 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002053/0.5245, allocations: 164.1 kB / 1.45 GB, free: 3.199 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.5265, allocations: 330.9 kB / 1.45 GB, free: 2.875 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.528, allocations: 0.9261 MB / 1.451 GB, free: 1.906 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/0.528, allocations: 70 kB / 1.451 GB, free: 1.84 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.5282, allocations: 99.95 kB / 1.451 GB, free: 1.742 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.5301, allocations: 1.081 MB / 1.452 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.5301, allocations: 0 / 1.452 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.5302, allocations: 47.98 kB / 1.452 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/0.5303, allocations: 45.92 kB / 1.452 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.532, allocations: 0.9876 MB / 1.453 GB, free: 15.57 MB / 1.186 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.006101/0.5382, allocations: 4.389 MB / 1.457 GB, free: 10.85 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009628/0.5391, allocations: 0.5958 MB / 1.458 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005689/0.5397, allocations: 340.4 kB / 1.458 GB, free: 9.914 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.5399, allocations: 105.5 kB / 1.458 GB, free: 9.793 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.5399, allocations: 39 kB / 1.458 GB, free: 9.746 MB / 1.186 GB Notification: Performance of pre-optimization done (n=53): time 1.683e-06/0.54, allocations: 4 kB / 1.458 GB, free: 9.742 MB / 1.186 GB Notification: Performance of matching and sorting (n=55): time 0.004093/0.5441, allocations: 2.214 MB / 1.461 GB, free: 7.41 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.5441, allocations: 59.91 kB / 1.461 GB, free: 7.34 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.5452, allocations: 0.8882 MB / 1.462 GB, free: 6.441 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/0.5453, allocations: 37.7 kB / 1.462 GB, free: 6.398 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.5457, allocations: 0.5275 MB / 1.462 GB, free: 5.863 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.5459, allocations: 202.2 kB / 1.462 GB, free: 5.664 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.5462, allocations: 130.6 kB / 1.462 GB, free: 5.527 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.5463, allocations: 334 kB / 1.463 GB, free: 5.195 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005333/0.5469, allocations: 285.8 kB / 1.463 GB, free: 4.918 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006691/0.5475, allocations: 436.9 kB / 1.463 GB, free: 4.441 MB / 1.186 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.004206/0.5517, allocations: 1.749 MB / 1.465 GB, free: 2.621 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5518, allocations: 7.938 kB / 1.465 GB, free: 2.613 MB / 1.186 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001607/0.5534, allocations: 0.9267 MB / 1.466 GB, free: 1.668 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.5534, allocations: 8 kB / 1.466 GB, free: 1.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.5534, allocations: 7.938 kB / 1.466 GB, free: 1.652 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/0.5536, allocations: 90.52 kB / 1.466 GB, free: 1.555 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/0.5544, allocations: 163.8 kB / 1.466 GB, free: 1.395 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004008/0.5584, allocations: 4.645 MB / 1.471 GB, free: 12.33 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007555/0.5592, allocations: 32.09 kB / 1.471 GB, free: 12.3 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.771e-05/0.5593, allocations: 28 kB / 1.471 GB, free: 12.27 MB / 1.201 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.0004584/0.5597, allocations: 361.4 kB / 1.471 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.5599, allocations: 107.3 kB / 1.471 GB, free: 11.8 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.5601, allocations: 109.2 kB / 1.471 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5601, allocations: 4 kB / 1.471 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5601, allocations: 0 / 1.471 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001169/0.5613, allocations: 0.7691 MB / 1.472 GB, free: 10.87 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.5645, allocations: 1.989 MB / 1.474 GB, free: 8.777 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5645, allocations: 32 / 1.474 GB, free: 8.777 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007062/0.5652, allocations: 151.8 kB / 1.474 GB, free: 8.629 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.516e-05/0.5654, allocations: 44.77 kB / 1.474 GB, free: 8.582 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.543e-05/0.5654, allocations: 19.98 kB / 1.474 GB, free: 8.562 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.5668, allocations: 1.602 MB / 1.476 GB, free: 6.82 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.5668, allocations: 4 kB / 1.476 GB, free: 6.816 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.5687, allocations: 1.216 MB / 1.477 GB, free: 5.543 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003841/0.5691, allocations: 256.3 kB / 1.477 GB, free: 5.273 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.5692, allocations: 16 kB / 1.477 GB, free: 5.258 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007155/0.57, allocations: 41.92 kB / 1.477 GB, free: 5.223 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.5701, allocations: 51.61 kB / 1.477 GB, free: 5.172 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.899e-05/0.5702, allocations: 31.97 kB / 1.478 GB, free: 5.141 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008139/0.571, allocations: 0.6161 MB / 1.478 GB, free: 4.531 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.4e-07/0.571, allocations: 0 / 1.478 GB, free: 4.531 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008241/0.5718, allocations: 300 kB / 1.478 GB, free: 4.238 MB / 1.201 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.002478/0.5743, allocations: 1.837 MB / 1.48 GB, free: 2.34 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.5759, allocations: 1.01 MB / 1.481 GB, free: 1.289 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.576, allocations: 5 kB / 1.481 GB, free: 1.285 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007083/0.5767, allocations: 454.2 kB / 1.482 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/0.5795, allocations: 0.6524 MB / 1.482 GB, free: 196 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.5909, allocations: 7.964 MB / 1.49 GB, free: 7.91 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008815/0.5918, allocations: 1.166 MB / 1.491 GB, free: 6.715 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007919/0.5926, allocations: 252.4 kB / 1.491 GB, free: 6.465 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/0.5931, allocations: 379.3 kB / 1.492 GB, free: 6.094 MB / 1.217 GB Notification: Performance of SimCode: time 3.3e-07/0.5931, allocations: 0 / 1.492 GB, free: 6.094 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09625/0.6894, allocations: 30.49 MB / 1.522 GB, free: 8.113 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.78, allocations: 15.25 kB / 1.522 GB, free: 8.102 MB / 1.248 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 400 --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