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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001391/0.001391, allocations: 108 kB / 15.6 MB, free: 132 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.001591/0.001591, allocations: 191.1 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.701/2.701, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 69 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2598, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6873/0.9472, allocations: 190.5 MB / 1.25 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.9578, allocations: 5.704 MB / 1.255 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.9593, allocations: 42.22 kB / 1.255 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.9608, allocations: 0.5694 MB / 1.256 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004286/0.9652, allocations: 1.833 MB / 1.258 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.9682, allocations: 1.161 MB / 1.259 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003856/0.9721, allocations: 2.956 MB / 1.262 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.9739, allocations: 1.123 MB / 1.263 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.976, allocations: 1.058 MB / 1.264 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.9784, allocations: 0.9619 MB / 1.265 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000455/0.9789, allocations: 124.1 kB / 1.265 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003466/0.9824, allocations: 1.444 MB / 1.266 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009484/0.9833, allocations: 0.566 MB / 1.267 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.9851, allocations: 0.7308 MB / 1.268 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004246/0.9894, allocations: 2.307 MB / 1.27 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9894, allocations: 2.203 kB / 1.27 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9894, allocations: 0 / 1.27 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.305e-05/0.9895, allocations: 0.7812 kB / 1.27 GB, free: 4.281 MB / 0.9981 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.0045/0.994, allocations: 1.626 MB / 1.271 GB, free: 19.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.9941, allocations: 11.19 kB / 1.271 GB, free: 19.47 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003971/0.9945, allocations: 163.2 kB / 1.272 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002499/0.997, allocations: 328.6 kB / 1.272 GB, free: 19.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.9988, allocations: 0.8669 MB / 1.273 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.567e-05/0.9989, allocations: 81.16 kB / 1.273 GB, free: 19.03 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.9991, allocations: 101.7 kB / 1.273 GB, free: 19.03 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/1.001, allocations: 1.085 MB / 1.274 GB, free: 18.97 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/1.001, allocations: 2.016 kB / 1.274 GB, free: 18.97 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/1.001, allocations: 44.81 kB / 1.274 GB, free: 18.97 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.836e-05/1.002, allocations: 42.91 kB / 1.274 GB, free: 18.97 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/1.004, allocations: 0.9937 MB / 1.275 GB, free: 18.96 MB / 1.014 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.006891/1.01, allocations: 4.257 MB / 1.279 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008815/1.011, allocations: 0.5981 MB / 1.28 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005041/1.012, allocations: 342.8 kB / 1.28 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/1.012, allocations: 104.5 kB / 1.28 GB, free: 17.1 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/1.012, allocations: 43.91 kB / 1.28 GB, free: 17.06 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 2.505e-06/1.012, allocations: 0 / 1.28 GB, free: 17.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=55): time 0.004147/1.016, allocations: 2.207 MB / 1.282 GB, free: 16.27 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/1.016, allocations: 57.72 kB / 1.282 GB, free: 16.21 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/1.017, allocations: 0.8834 MB / 1.283 GB, free: 16.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.475e-05/1.018, allocations: 36.83 kB / 1.283 GB, free: 16.04 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/1.018, allocations: 0.5193 MB / 1.284 GB, free: 15.81 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/1.018, allocations: 191.5 kB / 1.284 GB, free: 15.69 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/1.018, allocations: 133.1 kB / 1.284 GB, free: 15.67 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.018, allocations: 336.3 kB / 1.284 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004855/1.019, allocations: 283.6 kB / 1.285 GB, free: 15.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/1.019, allocations: 441.5 kB / 1.285 GB, free: 15.22 MB / 1.014 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.003812/1.023, allocations: 1.751 MB / 1.287 GB, free: 14.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.023, allocations: 1.438 kB / 1.287 GB, free: 14.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001535/1.025, allocations: 0.9237 MB / 1.288 GB, free: 14.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.025, allocations: 9.656 kB / 1.288 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.025, allocations: 6.016 kB / 1.288 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/1.025, allocations: 97.88 kB / 1.288 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007599/1.026, allocations: 165.9 kB / 1.288 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/1.029, allocations: 4.637 MB / 1.293 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009769/1.03, allocations: 30.31 kB / 1.293 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/1.03, allocations: 24.72 kB / 1.293 GB, free: 10.8 MB / 1.014 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.000512/1.031, allocations: 348 kB / 1.293 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/1.031, allocations: 99.28 kB / 1.293 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/1.031, allocations: 110.9 kB / 1.293 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.031, allocations: 6.406 kB / 1.293 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.031, allocations: 0 / 1.293 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/1.032, allocations: 0.7761 MB / 1.294 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/1.036, allocations: 1.98 MB / 1.296 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/1.036, allocations: 7.281 kB / 1.296 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000709/1.036, allocations: 149.6 kB / 1.296 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.374e-05/1.036, allocations: 36.23 kB / 1.296 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/1.036, allocations: 22.16 kB / 1.296 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/1.038, allocations: 1.608 MB / 1.298 GB, free: 8.547 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.038, allocations: 5.594 kB / 1.298 GB, free: 8.547 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/1.039, allocations: 1.21 MB / 1.299 GB, free: 8.234 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000432/1.04, allocations: 254.4 kB / 1.299 GB, free: 8.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/1.04, allocations: 18.31 kB / 1.299 GB, free: 8.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007802/1.041, allocations: 32.44 kB / 1.299 GB, free: 8.09 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/1.041, allocations: 47.67 kB / 1.299 GB, free: 8.086 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.93e-05/1.041, allocations: 33.86 kB / 1.299 GB, free: 8.086 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000778/1.042, allocations: 0.6133 MB / 1.3 GB, free: 7.992 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.4e-07/1.042, allocations: 0 / 1.3 GB, free: 7.992 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001016/1.043, allocations: 306.3 kB / 1.3 GB, free: 7.988 MB / 1.014 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.002216/1.045, allocations: 1.843 MB / 1.302 GB, free: 7.141 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001572/1.047, allocations: 1.118 MB / 1.303 GB, free: 6.785 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.047, allocations: 1.375 kB / 1.303 GB, free: 6.785 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005604/1.047, allocations: 449.5 kB / 1.303 GB, free: 6.676 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/1.05, allocations: 0.6421 MB / 1.304 GB, free: 6.594 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/1.061, allocations: 8.299 MB / 1.312 GB, free: 3.508 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/1.061, allocations: 1.174 MB / 1.313 GB, free: 2.793 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009986/1.062, allocations: 257.4 kB / 1.313 GB, free: 2.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000447/1.063, allocations: 385.9 kB / 1.314 GB, free: 2.723 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/1.063, allocations: 2.875 kB / 1.314 GB, free: 2.723 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08806/1.151, allocations: 30.26 MB / 1.343 GB, free: 10.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.61, allocations: 11.47 kB / 1.343 GB, free: 10.27 MB / 1.029 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