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.001145/0.001148, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.591/2.591, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001413, allocations: 63.91 kB / 0.8693 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.584/0.5854, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1862/0.7717, allocations: 190.5 MB / 1.203 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009113/0.7808, allocations: 5.706 MB / 1.209 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.7822, allocations: 47.75 kB / 1.209 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.7838, allocations: 0.563 MB / 1.21 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00495/0.7888, allocations: 1.832 MB / 1.211 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.792, allocations: 1.168 MB / 1.213 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00365/0.7956, allocations: 2.957 MB / 1.215 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001718/0.7974, allocations: 1.128 MB / 1.217 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002155/0.7995, allocations: 1.043 MB / 1.218 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/0.8018, allocations: 0.9556 MB / 1.218 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003233/0.8021, allocations: 124 kB / 1.219 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.8052, allocations: 1.45 MB / 1.22 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005783/0.8058, allocations: 0.5689 MB / 1.221 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007906/0.8066, allocations: 0.7234 MB / 1.221 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002674/0.8093, allocations: 2.31 MB / 1.224 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8093, allocations: 0 / 1.224 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8093, allocations: 4 kB / 1.224 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.106e-05/0.8093, allocations: 0 / 1.224 GB, free: 14.64 MB / 0.9825 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.002488/0.8118, allocations: 1.62 MB / 1.225 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.8119, allocations: 16.03 kB / 1.225 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/0.8121, allocations: 156.1 kB / 1.225 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/0.814, allocations: 330.2 kB / 1.226 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.8153, allocations: 0.8707 MB / 1.226 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/0.8154, allocations: 77.98 kB / 1.226 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.8155, allocations: 96 kB / 1.227 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.8173, allocations: 1.085 MB / 1.228 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.8173, allocations: 3.906 kB / 1.228 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.8174, allocations: 48 kB / 1.228 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.464e-05/0.8175, allocations: 37.98 kB / 1.228 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.8191, allocations: 0.9915 MB / 1.229 GB, free: 9.215 MB / 0.9825 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.005668/0.8248, allocations: 4.272 MB / 1.233 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/0.8257, allocations: 0.5957 MB / 1.233 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005062/0.8262, allocations: 352 kB / 1.234 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.8264, allocations: 97.53 kB / 1.234 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.8264, allocations: 43 kB / 1.234 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=53): time 2.063e-06/0.8264, allocations: 0 / 1.234 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=55): time 0.003854/0.8303, allocations: 2.208 MB / 1.236 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.8303, allocations: 59.91 kB / 1.236 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009892/0.8313, allocations: 0.8843 MB / 1.237 GB, free: 248 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.8314, allocations: 37.7 kB / 1.237 GB, free: 204 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.8318, allocations: 0.5146 MB / 1.238 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.8319, allocations: 193.2 kB / 1.238 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.8321, allocations: 130.5 kB / 1.238 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.8323, allocations: 341.9 kB / 1.238 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000479/0.8327, allocations: 281.8 kB / 1.238 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/0.8333, allocations: 433 kB / 1.239 GB, free: 14.26 MB / 0.9981 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.003948/0.8373, allocations: 1.745 MB / 1.241 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8373, allocations: 4 kB / 1.241 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00147/0.8388, allocations: 0.9262 MB / 1.241 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.8388, allocations: 8 kB / 1.241 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.8388, allocations: 7.938 kB / 1.241 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.839, allocations: 94.45 kB / 1.242 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007527/0.8398, allocations: 163.8 kB / 1.242 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/0.8432, allocations: 4.641 MB / 1.246 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008561/0.8441, allocations: 35.83 kB / 1.246 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/0.8442, allocations: 24 kB / 1.246 GB, free: 6.105 MB / 0.9981 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.000485/0.8447, allocations: 353.5 kB / 1.247 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.8448, allocations: 98.88 kB / 1.247 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.845, allocations: 113.2 kB / 1.247 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.845, allocations: 4 kB / 1.247 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.845, allocations: 0 / 1.247 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001101/0.8462, allocations: 0.7691 MB / 1.248 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/0.8492, allocations: 1.988 MB / 1.25 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.8492, allocations: 0 / 1.25 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006897/0.8499, allocations: 152.2 kB / 1.25 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.854e-05/0.85, allocations: 40.84 kB / 1.25 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.526e-05/0.85, allocations: 19.98 kB / 1.25 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.8512, allocations: 1.598 MB / 1.251 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.8512, allocations: 7.938 kB / 1.251 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4471/1.298, allocations: 1.205 MB / 1.253 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005173/1.299, allocations: 255.9 kB / 1.253 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/1.299, allocations: 15.88 kB / 1.253 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007605/1.3, allocations: 34.08 kB / 1.253 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/1.3, allocations: 51.66 kB / 1.253 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-05/1.3, allocations: 33.31 kB / 1.253 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008272/1.301, allocations: 0.6129 MB / 1.253 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/1.301, allocations: 0 / 1.253 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009576/1.302, allocations: 299.8 kB / 1.254 GB, free: 232.3 MB / 0.9981 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.002238/1.304, allocations: 1.846 MB / 1.256 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001688/1.306, allocations: 1.112 MB / 1.257 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.306, allocations: 4.625 kB / 1.257 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006153/1.306, allocations: 448.4 kB / 1.257 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/1.309, allocations: 0.6546 MB / 1.258 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/1.32, allocations: 8.3 MB / 1.266 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007346/1.321, allocations: 1.173 MB / 1.267 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001056/1.322, allocations: 257 kB / 1.267 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/1.323, allocations: 380 kB / 1.268 GB, free: 225 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/1.323, allocations: 0 / 1.268 GB, free: 225 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05041/1.373, allocations: 30.25 MB / 1.297 GB, free: 205.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/12.64, allocations: 17.48 kB / 1.297 GB, free: 205.9 MB / 0.9981 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