Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.MixingVolume,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_latest_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.0009655/0.0009656, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.006737/0.006737, allocations: 173.2 kB / 16.26 MB, free: 6.613 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.38/1.38, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.659/2.659, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 14.25 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2563, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.787/1.043, allocations: 237.2 MB / 1.29 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02095/1.064, allocations: 15.91 MB / 1.306 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002837/1.067, allocations: 70.28 kB / 1.306 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002885/1.07, allocations: 1.015 MB / 1.307 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009901/1.08, allocations: 3.596 MB / 1.311 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004968/1.085, allocations: 1.616 MB / 1.312 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008837/1.094, allocations: 7.431 MB / 1.319 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003008/1.097, allocations: 1.384 MB / 1.321 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005949/1.103, allocations: 2.296 MB / 1.323 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00431/1.107, allocations: 1.734 MB / 1.325 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000639/1.108, allocations: 87.88 kB / 1.325 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00604/1.114, allocations: 3.128 MB / 1.328 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00117/1.115, allocations: 0.6741 MB / 1.328 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002348/1.117, allocations: 1.064 MB / 1.33 GB, free: 17.23 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005596/1.123, allocations: 3.599 MB / 1.333 GB, free: 16.8 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.123, allocations: 6.031 kB / 1.333 GB, free: 16.8 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.833e-06/1.123, allocations: 0 / 1.333 GB, free: 16.8 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.469e-05/1.123, allocations: 0 / 1.333 GB, free: 16.8 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.00366/1.127, allocations: 2.111 MB / 1.335 GB, free: 15.67 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/1.127, allocations: 13.34 kB / 1.335 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002489/1.127, allocations: 215.2 kB / 1.335 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002856/1.13, allocations: 0.504 MB / 1.336 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/1.132, allocations: 1.282 MB / 1.337 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/1.132, allocations: 174.2 kB / 1.337 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/1.132, allocations: 154.4 kB / 1.337 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003264/1.136, allocations: 1.743 MB / 1.339 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/1.136, allocations: 3.594 kB / 1.339 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/1.136, allocations: 65.48 kB / 1.339 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.29e-05/1.136, allocations: 63.47 kB / 1.339 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/1.138, allocations: 1.4 MB / 1.341 GB, free: 14.72 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.008787/1.147, allocations: 8.207 MB / 1.349 GB, free: 9.848 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/1.148, allocations: 0.9103 MB / 1.349 GB, free: 9.809 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008389/1.149, allocations: 0.5458 MB / 1.35 GB, free: 9.793 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006174/1.15, allocations: 337.9 kB / 1.35 GB, free: 9.504 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/1.15, allocations: 48.47 kB / 1.35 GB, free: 9.461 MB / 1.014 GB Notification: Performance of pre-optimization done (n=96): time 2.765e-06/1.15, allocations: 0 / 1.35 GB, free: 9.461 MB / 1.014 GB Notification: Performance of matching and sorting (n=102): time 0.00677/1.157, allocations: 3.168 MB / 1.353 GB, free: 8.781 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/1.157, allocations: 61.25 kB / 1.354 GB, free: 8.719 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/1.158, allocations: 1.267 MB / 1.355 GB, free: 8.48 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/1.158, allocations: 51.7 kB / 1.355 GB, free: 8.449 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005351/1.159, allocations: 0.818 MB / 1.356 GB, free: 8.047 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/1.159, allocations: 365.4 kB / 1.356 GB, free: 7.785 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/1.159, allocations: 99.41 kB / 1.356 GB, free: 7.754 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.16, allocations: 351.4 kB / 1.356 GB, free: 7.438 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000766/1.16, allocations: 449 kB / 1.357 GB, free: 7.363 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/1.161, allocations: 0.835 MB / 1.358 GB, free: 6.828 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/1.163, allocations: 1.279 MB / 1.359 GB, free: 6.367 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.163, allocations: 2.938 kB / 1.359 GB, free: 6.367 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002368/1.166, allocations: 1.424 MB / 1.36 GB, free: 6.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002429/1.166, allocations: 377 kB / 1.361 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/1.166, allocations: 9.281 kB / 1.361 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/1.166, allocations: 14.69 kB / 1.361 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/1.167, allocations: 282.3 kB / 1.361 GB, free: 5.609 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/1.167, allocations: 23.7 kB / 1.361 GB, free: 5.605 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/1.169, allocations: 179.4 kB / 1.361 GB, free: 5.539 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.251e-05/1.169, allocations: 48.56 kB / 1.361 GB, free: 5.539 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/1.169, allocations: 3.156 kB / 1.361 GB, free: 5.539 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001946/1.171, allocations: 1.244 MB / 1.362 GB, free: 5.375 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.171, allocations: 8 kB / 1.362 GB, free: 5.375 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.171, allocations: 18.39 kB / 1.362 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/1.172, allocations: 275.6 kB / 1.363 GB, free: 5.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/1.172, allocations: 21.06 kB / 1.363 GB, free: 5.336 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/1.174, allocations: 179.3 kB / 1.363 GB, free: 5.273 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.936e-05/1.174, allocations: 52.67 kB / 1.363 GB, free: 5.27 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.000874/1.175, allocations: 0.5072 MB / 1.363 GB, free: 5.035 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/1.175, allocations: 163.2 kB / 1.364 GB, free: 4.953 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/1.177, allocations: 1.182 MB / 1.365 GB, free: 4.691 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/1.177, allocations: 13.34 kB / 1.365 GB, free: 4.688 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.177, allocations: 2.562 kB / 1.365 GB, free: 4.688 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001563/1.179, allocations: 1.1 MB / 1.366 GB, free: 4.297 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004759/1.183, allocations: 2.799 MB / 1.369 GB, free: 3.348 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.183, allocations: 3.562 kB / 1.369 GB, free: 3.348 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/1.185, allocations: 253.6 kB / 1.369 GB, free: 3.309 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/1.185, allocations: 5.438 kB / 1.369 GB, free: 3.309 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.778e-05/1.185, allocations: 29.64 kB / 1.369 GB, free: 3.305 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.956e-06/1.185, allocations: 6.188 kB / 1.369 GB, free: 3.305 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.185, allocations: 0 / 1.369 GB, free: 3.305 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/1.188, allocations: 1.802 MB / 1.371 GB, free: 2.777 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007559/1.188, allocations: 336.6 kB / 1.371 GB, free: 2.508 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/1.189, allocations: 28.27 kB / 1.371 GB, free: 2.488 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.19, allocations: 134.2 kB / 1.371 GB, free: 2.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.19, allocations: 78.58 kB / 1.371 GB, free: 2.387 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-05/1.19, allocations: 38.05 kB / 1.371 GB, free: 2.375 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001056/1.191, allocations: 0.8453 MB / 1.372 GB, free: 1.918 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.191, allocations: 0 / 1.372 GB, free: 1.918 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002116/1.193, allocations: 0.7669 MB / 1.373 GB, free: 1.852 MB / 1.014 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.003446/1.197, allocations: 2.507 MB / 1.375 GB, free: 264 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003085/1.2, allocations: 1.759 MB / 1.377 GB, free: 15.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/1.2, allocations: 384 / 1.377 GB, free: 15.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000849/1.201, allocations: 0.5331 MB / 1.377 GB, free: 15.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005515/1.206, allocations: 0.9738 MB / 1.378 GB, free: 14.85 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02201/1.228, allocations: 13.96 MB / 1.392 GB, free: 4.277 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/1.23, allocations: 1.449 MB / 1.393 GB, free: 2.793 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002288/1.232, allocations: 0.5563 MB / 1.394 GB, free: 2.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009889/1.233, allocations: 0.6828 MB / 1.395 GB, free: 1.547 MB / 1.029 GB Notification: Performance of SimCode: time 1.032e-06/1.233, allocations: 4 kB / 1.395 GB, free: 1.543 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07192/1.305, allocations: 43.34 MB / 1.437 GB, free: 6.84 MB / 1.076 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/1.305, allocations: 248.9 kB / 1.437 GB, free: 6.586 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.915/4.22, allocations: 0 / 1.437 GB, free: 6.586 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches