Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.MixingVolume,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_9_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.0008472/0.0008472, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005224/0.005224, allocations: 172.1 kB / 16.27 MB, free: 6.32 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.286/1.286, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.9 MB / 0.6664 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002792, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.5142, allocations: 142.4 MB / 0.9552 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.2153/0.7294, allocations: 237.2 MB / 1.187 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01929/0.7488, allocations: 15.9 MB / 1.202 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.7507, allocations: 71.5 kB / 1.202 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00254/0.7533, allocations: 1.014 MB / 1.203 GB, free: 216 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007797/0.7611, allocations: 3.601 MB / 1.207 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003663/0.7648, allocations: 1.623 MB / 1.209 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007178/0.772, allocations: 7.416 MB / 1.216 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00209/0.7741, allocations: 1.383 MB / 1.217 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004414/0.7785, allocations: 2.299 MB / 1.219 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003315/0.7818, allocations: 1.735 MB / 1.221 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002946/0.7821, allocations: 87.94 kB / 1.221 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004732/0.7869, allocations: 3.125 MB / 1.224 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006675/0.7876, allocations: 0.6814 MB / 1.225 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.7886, allocations: 1.059 MB / 1.226 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003678/0.7923, allocations: 3.598 MB / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.7923, allocations: 0 / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7923, allocations: 0 / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.7924, allocations: 0 / 1.229 GB, free: 5.508 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.003245/0.7956, allocations: 2.113 MB / 1.231 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.7957, allocations: 8.031 kB / 1.231 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/0.7959, allocations: 219.1 kB / 1.232 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/0.7985, allocations: 0.5009 MB / 1.232 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.8003, allocations: 1.281 MB / 1.233 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.8004, allocations: 174.2 kB / 1.234 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.8006, allocations: 155.9 kB / 1.234 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.8032, allocations: 1.755 MB / 1.235 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.8032, allocations: 4 kB / 1.235 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.8034, allocations: 59.91 kB / 1.236 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-05/0.8034, allocations: 62.69 kB / 1.236 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.8058, allocations: 1.392 MB / 1.237 GB, free: 13.58 MB / 0.9981 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.007815/0.8136, allocations: 8.218 MB / 1.245 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.8151, allocations: 0.9118 MB / 1.246 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008425/0.8159, allocations: 0.5497 MB / 1.246 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000554/0.8165, allocations: 336.4 kB / 1.247 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.8165, allocations: 51.5 kB / 1.247 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=96): time 2.174e-06/0.8165, allocations: 3.938 kB / 1.247 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.3659/1.182, allocations: 3.156 MB / 1.25 GB, free: 285 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/1.182, allocations: 64.92 kB / 1.25 GB, free: 284.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/1.184, allocations: 1.269 MB / 1.251 GB, free: 284.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.948e-05/1.184, allocations: 49.83 kB / 1.251 GB, free: 284.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/1.185, allocations: 0.8088 MB / 1.252 GB, free: 284.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/1.185, allocations: 363.1 kB / 1.252 GB, free: 284.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/1.185, allocations: 102.8 kB / 1.252 GB, free: 284.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/1.185, allocations: 356.4 kB / 1.253 GB, free: 283.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008122/1.186, allocations: 449.2 kB / 1.253 GB, free: 283.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009807/1.187, allocations: 0.8363 MB / 1.254 GB, free: 283 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/1.189, allocations: 1.273 MB / 1.255 GB, free: 282.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/1.189, allocations: 6.594 kB / 1.255 GB, free: 282.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002371/1.191, allocations: 1.424 MB / 1.257 GB, free: 281.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.191, allocations: 367 kB / 1.257 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/1.191, allocations: 9.422 kB / 1.257 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/1.191, allocations: 15.19 kB / 1.257 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/1.192, allocations: 280.2 kB / 1.257 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.41e-05/1.192, allocations: 21.58 kB / 1.257 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.194, allocations: 177.6 kB / 1.257 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.852e-05/1.194, allocations: 54.69 kB / 1.258 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-06/1.194, allocations: 4.328 kB / 1.258 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002073/1.196, allocations: 1.241 MB / 1.259 GB, free: 280.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.196, allocations: 9.688 kB / 1.259 GB, free: 280.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.196, allocations: 15 kB / 1.259 GB, free: 280.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/1.197, allocations: 277.5 kB / 1.259 GB, free: 280.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-05/1.197, allocations: 27.94 kB / 1.259 GB, free: 280.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/1.199, allocations: 173.9 kB / 1.259 GB, free: 280.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-05/1.199, allocations: 52.38 kB / 1.259 GB, free: 280.6 MB / 0.9981 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.000697/1.2, allocations: 0.504 MB / 1.26 GB, free: 280.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/1.2, allocations: 163.1 kB / 1.26 GB, free: 280.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/1.202, allocations: 1.179 MB / 1.261 GB, free: 279.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/1.202, allocations: 13.72 kB / 1.261 GB, free: 279.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.202, allocations: 1.688 kB / 1.261 GB, free: 279.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00145/1.203, allocations: 1.094 MB / 1.262 GB, free: 279.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/1.207, allocations: 2.807 MB / 1.265 GB, free: 277.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.207, allocations: 5.359 kB / 1.265 GB, free: 277.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/1.208, allocations: 254.1 kB / 1.265 GB, free: 277.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/1.208, allocations: 6.219 kB / 1.265 GB, free: 277.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.757e-05/1.208, allocations: 28.72 kB / 1.265 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/1.208, allocations: 5.469 kB / 1.265 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.208, allocations: 6.234 kB / 1.265 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/1.211, allocations: 1.801 MB / 1.267 GB, free: 276.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/1.211, allocations: 336.3 kB / 1.267 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/1.211, allocations: 24.44 kB / 1.267 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.212, allocations: 142.3 kB / 1.267 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/1.213, allocations: 63.52 kB / 1.267 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.186e-05/1.213, allocations: 47.03 kB / 1.268 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008754/1.213, allocations: 0.8385 MB / 1.268 GB, free: 276 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.213, allocations: 0 / 1.268 GB, free: 276 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002063/1.216, allocations: 0.7677 MB / 1.269 GB, free: 275.9 MB / 0.9981 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.002952/1.219, allocations: 2.515 MB / 1.272 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002723/1.221, allocations: 1.769 MB / 1.273 GB, free: 273.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.221, allocations: 1.656 kB / 1.273 GB, free: 273.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007491/1.222, allocations: 0.5293 MB / 1.274 GB, free: 273.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004462/1.226, allocations: 0.963 MB / 1.275 GB, free: 272.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/1.241, allocations: 13.96 MB / 1.288 GB, free: 263.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000646/1.241, allocations: 1.443 MB / 1.29 GB, free: 262.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001712/1.243, allocations: 0.5533 MB / 1.29 GB, free: 261.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006199/1.244, allocations: 0.6984 MB / 1.291 GB, free: 261 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/1.244, allocations: 0 / 1.291 GB, free: 261 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.361/2.605, allocations: 43.33 MB / 1.333 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/2.605, allocations: 258 kB / 1.334 GB, free: 218 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.067/5.672, allocations: 3.938 kB / 1.334 GB, free: 218 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches