Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.MixingVolume,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.001516/0.001516, 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.001391/0.001391, allocations: 194.6 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.513/2.513, allocations: 469.8 MB / 0.7424 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 75.36 kB / 0.9086 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2478, allocations: 159.2 MB / 1.064 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7205/0.9684, allocations: 242.4 MB / 1.301 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01568/0.9841, allocations: 15.89 MB / 1.316 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.9859, allocations: 74.75 kB / 1.316 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.9882, allocations: 1.182 MB / 1.318 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006769/0.995, allocations: 3.814 MB / 1.321 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003437/0.9984, allocations: 1.814 MB / 1.323 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004669/1.003, allocations: 5.244 MB / 1.328 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/1.005, allocations: 1.677 MB / 1.33 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003956/1.009, allocations: 2.595 MB / 1.332 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/1.011, allocations: 1.707 MB / 1.334 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002269/1.011, allocations: 173.9 kB / 1.334 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/1.015, allocations: 2.708 MB / 1.337 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005377/1.016, allocations: 0.7707 MB / 1.338 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008667/1.016, allocations: 1.149 MB / 1.339 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003021/1.019, allocations: 3.519 MB / 1.342 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/1.02, allocations: 0 / 1.342 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.082e-06/1.02, allocations: 0 / 1.342 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.313e-05/1.02, allocations: 0 / 1.342 GB, free: 2.297 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.003094/1.023, allocations: 2.509 MB / 1.345 GB, free: 17.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/1.023, allocations: 8.438 kB / 1.345 GB, free: 17.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002059/1.023, allocations: 217.8 kB / 1.345 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00238/1.025, allocations: 0.499 MB / 1.345 GB, free: 16.94 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/1.027, allocations: 1.274 MB / 1.347 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/1.027, allocations: 177.5 kB / 1.347 GB, free: 16.42 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/1.027, allocations: 150.1 kB / 1.347 GB, free: 16.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/1.029, allocations: 1.738 MB / 1.349 GB, free: 16.19 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/1.029, allocations: 3.406 kB / 1.349 GB, free: 16.19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/1.029, allocations: 61.09 kB / 1.349 GB, free: 16.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/1.029, allocations: 63.11 kB / 1.349 GB, free: 16.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/1.031, allocations: 1.372 MB / 1.35 GB, free: 16.17 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.007392/1.039, allocations: 8.263 MB / 1.358 GB, free: 10.21 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/1.04, allocations: 0.9035 MB / 1.359 GB, free: 9.848 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/1.041, allocations: 0.5389 MB / 1.359 GB, free: 9.652 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005477/1.041, allocations: 320.7 kB / 1.36 GB, free: 9.363 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/1.041, allocations: 51.12 kB / 1.36 GB, free: 9.316 MB / 1.014 GB Notification: Performance of pre-optimization done (n=96): time 1.974e-06/1.041, allocations: 0 / 1.36 GB, free: 9.316 MB / 1.014 GB Notification: Performance of matching and sorting (n=102): time 0.00552/1.047, allocations: 3.116 MB / 1.363 GB, free: 7.859 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/1.047, allocations: 63.41 kB / 1.363 GB, free: 7.793 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/1.048, allocations: 1.268 MB / 1.364 GB, free: 7.316 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.606e-05/1.048, allocations: 49.64 kB / 1.364 GB, free: 7.27 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005446/1.049, allocations: 0.8174 MB / 1.365 GB, free: 6.633 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/1.049, allocations: 356.6 kB / 1.365 GB, free: 6.359 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/1.049, allocations: 229.5 kB / 1.366 GB, free: 6.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.05, allocations: 354.6 kB / 1.366 GB, free: 5.922 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007015/1.05, allocations: 450 kB / 1.366 GB, free: 5.766 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009809/1.051, allocations: 0.8248 MB / 1.367 GB, free: 5.141 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/1.053, allocations: 1.25 MB / 1.368 GB, free: 4.398 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.053, allocations: 3.438 kB / 1.368 GB, free: 4.398 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001997/1.055, allocations: 1.407 MB / 1.37 GB, free: 3.883 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.055, allocations: 14.12 kB / 1.37 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.055, allocations: 9.75 kB / 1.37 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.055, allocations: 15.25 kB / 1.37 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009272/1.056, allocations: 271.9 kB / 1.37 GB, free: 3.871 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/1.056, allocations: 24.61 kB / 1.37 GB, free: 3.871 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/1.057, allocations: 73 kB / 1.37 GB, free: 3.844 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.029e-05/1.057, allocations: 54.38 kB / 1.37 GB, free: 3.832 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001088/1.058, allocations: 0.7732 MB / 1.371 GB, free: 3.414 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009634/1.059, allocations: 0.8217 MB / 1.372 GB, free: 2.707 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001637/1.061, allocations: 1.228 MB / 1.373 GB, free: 1.883 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.529e-06/1.061, allocations: 2.688 kB / 1.373 GB, free: 1.883 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.001987/1.063, allocations: 1.39 MB / 1.374 GB, free: 1.246 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/1.063, allocations: 10.06 kB / 1.374 GB, free: 1.246 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.063, allocations: 11.62 kB / 1.374 GB, free: 1.246 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/1.063, allocations: 15.78 kB / 1.374 GB, free: 1.246 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000922/1.064, allocations: 281.7 kB / 1.375 GB, free: 1.195 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/1.064, allocations: 17.88 kB / 1.375 GB, free: 1.195 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/1.065, allocations: 71.16 kB / 1.375 GB, free: 1.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/1.065, allocations: 45.22 kB / 1.375 GB, free: 1.152 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.000239/1.065, allocations: 269.8 kB / 1.375 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/1.065, allocations: 170.4 kB / 1.375 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/1.067, allocations: 1.155 MB / 1.376 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.067, allocations: 10.78 kB / 1.376 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.067, allocations: 0 / 1.376 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001539/1.069, allocations: 1.085 MB / 1.377 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00385/1.073, allocations: 2.79 MB / 1.38 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.073, allocations: 7.219 kB / 1.38 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/1.074, allocations: 250.6 kB / 1.38 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.074, allocations: 5.688 kB / 1.38 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.848e-05/1.074, allocations: 26.81 kB / 1.38 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.074, allocations: 9.172 kB / 1.38 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.074, allocations: 6.438 kB / 1.38 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/1.076, allocations: 1.762 MB / 1.382 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/1.077, allocations: 335 kB / 1.382 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/1.077, allocations: 23.72 kB / 1.382 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000903/1.078, allocations: 57.22 kB / 1.382 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.078, allocations: 65.36 kB / 1.383 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/1.078, allocations: 45.28 kB / 1.383 GB, free: 12.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009029/1.079, allocations: 0.8421 MB / 1.383 GB, free: 11.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.079, allocations: 0 / 1.383 GB, free: 11.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001408/1.08, allocations: 0.7654 MB / 1.384 GB, free: 11.8 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (102): * Single equations (assignments): 102 * 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.003084/1.083, allocations: 2.49 MB / 1.387 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00313/1.087, allocations: 2.003 MB / 1.389 GB, free: 9.465 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.087, allocations: 0 / 1.389 GB, free: 9.465 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007443/1.087, allocations: 0.5182 MB / 1.389 GB, free: 9.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003335/1.091, allocations: 0.9208 MB / 1.39 GB, free: 8.754 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/1.107, allocations: 13.09 MB / 1.403 GB, free: 11.21 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009871/1.108, allocations: 1.449 MB / 1.404 GB, free: 9.734 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001684/1.109, allocations: 0.5522 MB / 1.405 GB, free: 9.176 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008106/1.11, allocations: 0.6906 MB / 1.405 GB, free: 8.484 MB / 1.045 GB Notification: Performance of SimCode: time 2.104e-06/1.11, allocations: 2.812 kB / 1.405 GB, free: 8.484 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.901/4.011, allocations: 44.64 MB / 1.449 GB, free: 12.48 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.19/21.21, allocations: 13.03 kB / 1.449 GB, free: 12.48 MB / 1.092 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=400 --tolerance=1e-09 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches