Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.00467/0.00467, allocations: 95.38 kB / 15.73 MB, free: 6.051 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.001129/0.001129, allocations: 204.5 kB / 16.68 MB, free: 5.973 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.299/2.299, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.45 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2439, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7489/0.9928, allocations: 190.3 MB / 1.273 GB, free: 3.207 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008412/1.001, allocations: 5.689 MB / 1.279 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/1.003, allocations: 41.47 kB / 1.279 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00153/1.004, allocations: 0.586 MB / 1.28 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004146/1.008, allocations: 1.671 MB / 1.281 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003378/1.012, allocations: 1.219 MB / 1.282 GB, free: 3.027 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003834/1.016, allocations: 2.514 MB / 1.285 GB, free: 3.02 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/1.017, allocations: 0.9957 MB / 1.286 GB, free: 2.922 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/1.019, allocations: 1.065 MB / 1.287 GB, free: 2.918 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/1.021, allocations: 0.8194 MB / 1.288 GB, free: 2.914 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001808/1.021, allocations: 100.9 kB / 1.288 GB, free: 2.914 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/1.024, allocations: 1.535 MB / 1.289 GB, free: 2.898 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006302/1.025, allocations: 495.8 kB / 1.29 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008133/1.026, allocations: 0.6157 MB / 1.29 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003397/1.029, allocations: 2.119 MB / 1.292 GB, free: 2.773 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.029, allocations: 0 / 1.292 GB, free: 2.773 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/1.029, allocations: 1 kB / 1.292 GB, free: 2.773 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.827e-05/1.029, allocations: 1.344 kB / 1.292 GB, free: 2.773 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002377/1.031, allocations: 1.51 MB / 1.294 GB, free: 1.953 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/1.031, allocations: 10.89 kB / 1.294 GB, free: 1.953 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/1.032, allocations: 140.3 kB / 1.294 GB, free: 1.914 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/1.034, allocations: 339.7 kB / 1.294 GB, free: 1.844 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/1.035, allocations: 0.8149 MB / 1.295 GB, free: 1.523 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/1.035, allocations: 65.19 kB / 1.295 GB, free: 1.523 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/1.035, allocations: 81.08 kB / 1.295 GB, free: 1.523 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/1.037, allocations: 1.073 MB / 1.296 GB, free: 1.375 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/1.037, allocations: 5.703 kB / 1.296 GB, free: 1.371 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.471e-05/1.037, allocations: 38.34 kB / 1.296 GB, free: 1.371 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/1.037, allocations: 35.11 kB / 1.296 GB, free: 1.371 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/1.039, allocations: 0.8326 MB / 1.297 GB, free: 1.355 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.005557/1.045, allocations: 4.278 MB / 1.301 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006082/1.045, allocations: 368.8 kB / 1.302 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/1.046, allocations: 213.8 kB / 1.302 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/1.046, allocations: 98.47 kB / 1.302 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/1.046, allocations: 46.02 kB / 1.302 GB, free: 14.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.254e-06/1.046, allocations: 0 / 1.302 GB, free: 14.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=38): time 0.002529/1.048, allocations: 1.342 MB / 1.303 GB, free: 14.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/1.048, allocations: 56.94 kB / 1.303 GB, free: 14.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/1.05, allocations: 1 MB / 1.304 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/1.05, allocations: 32.45 kB / 1.304 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/1.05, allocations: 0.5016 MB / 1.305 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/1.05, allocations: 148.3 kB / 1.305 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/1.05, allocations: 123.6 kB / 1.305 GB, free: 13.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.051, allocations: 341 kB / 1.305 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/1.051, allocations: 230.7 kB / 1.306 GB, free: 13.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005627/1.052, allocations: 424.8 kB / 1.306 GB, free: 13.41 MB / 1.029 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.002376/1.054, allocations: 1.219 MB / 1.307 GB, free: 13.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.054, allocations: 8.141 kB / 1.307 GB, free: 13.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001359/1.055, allocations: 0.7726 MB / 1.308 GB, free: 13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.055, allocations: 8.594 kB / 1.308 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.055, allocations: 6.969 kB / 1.308 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/1.055, allocations: 9.875 kB / 1.308 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/1.056, allocations: 144.9 kB / 1.308 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/1.056, allocations: 16.92 kB / 1.308 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009836/1.057, allocations: 50.19 kB / 1.308 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/1.057, allocations: 35.66 kB / 1.308 GB, free: 13 MB / 1.029 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: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004348/1.057, allocations: 310.5 kB / 1.309 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/1.058, allocations: 105.3 kB / 1.309 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/1.058, allocations: 108.2 kB / 1.309 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/1.058, allocations: 3.562 kB / 1.309 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.058, allocations: 3.297 kB / 1.309 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007003/1.059, allocations: 0.6808 MB / 1.309 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/1.061, allocations: 1.58 MB / 1.311 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.061, allocations: 4.969 kB / 1.311 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/1.062, allocations: 87.78 kB / 1.311 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/1.062, allocations: 10.22 kB / 1.311 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/1.062, allocations: 11.66 kB / 1.311 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/1.062, allocations: 8.344 kB / 1.311 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.062, allocations: 8.031 kB / 1.311 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/1.063, allocations: 0.8405 MB / 1.312 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/1.063, allocations: 246.8 kB / 1.312 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/1.063, allocations: 12.41 kB / 1.312 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007514/1.064, allocations: 36.22 kB / 1.312 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/1.064, allocations: 35.11 kB / 1.312 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.413e-05/1.064, allocations: 24.88 kB / 1.312 GB, free: 11.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001135/1.065, allocations: 0.711 MB / 1.313 GB, free: 11.33 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.01e-07/1.065, allocations: 0 / 1.313 GB, free: 11.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009612/1.066, allocations: 257.6 kB / 1.313 GB, free: 11.32 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001674/1.068, allocations: 1.489 MB / 1.315 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000931/1.069, allocations: 0.5109 MB / 1.315 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.069, allocations: 2.312 kB / 1.315 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002446/1.069, allocations: 187.7 kB / 1.315 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/1.072, allocations: 0.6125 MB / 1.316 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/1.083, allocations: 7.629 MB / 1.323 GB, free: 7.672 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/1.084, allocations: 1.095 MB / 1.325 GB, free: 6.961 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001004/1.085, allocations: 252.7 kB / 1.325 GB, free: 6.902 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/1.085, allocations: 340.3 kB / 1.325 GB, free: 6.895 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/1.085, allocations: 0 / 1.325 GB, free: 6.895 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05141/1.136, allocations: 27.79 MB / 1.352 GB, free: 15.39 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.206/10.34, allocations: 19.02 kB / 1.352 GB, free: 15.38 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches