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.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.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.001605/0.001605, 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.002103/0.002103, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.466/1.466, 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.789/2.789, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 66.08 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.274, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7768/1.051, allocations: 242.4 MB / 1.29 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02163/1.073, allocations: 15.89 MB / 1.305 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003047/1.076, allocations: 76.31 kB / 1.305 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003202/1.079, allocations: 1.184 MB / 1.306 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009886/1.089, allocations: 3.818 MB / 1.31 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005051/1.094, allocations: 1.801 MB / 1.312 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007175/1.101, allocations: 5.251 MB / 1.317 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003909/1.105, allocations: 1.672 MB / 1.319 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007219/1.112, allocations: 2.597 MB / 1.321 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004079/1.116, allocations: 1.714 MB / 1.323 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007617/1.117, allocations: 177.2 kB / 1.323 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006379/1.123, allocations: 2.702 MB / 1.326 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001365/1.125, allocations: 0.767 MB / 1.326 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002868/1.128, allocations: 1.147 MB / 1.328 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007503/1.135, allocations: 3.521 MB / 1.331 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.135, allocations: 0 / 1.331 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.744e-06/1.135, allocations: 0 / 1.331 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001142/1.135, allocations: 0 / 1.331 GB, free: 0.6055 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.006187/1.142, allocations: 2.505 MB / 1.333 GB, free: 15.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/1.142, allocations: 11.38 kB / 1.333 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005274/1.142, allocations: 220.1 kB / 1.334 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003404/1.146, allocations: 0.505 MB / 1.334 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/1.148, allocations: 1.276 MB / 1.335 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/1.148, allocations: 178.3 kB / 1.336 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003128/1.149, allocations: 149.7 kB / 1.336 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003207/1.152, allocations: 1.733 MB / 1.337 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.343e-05/1.152, allocations: 0 / 1.337 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/1.152, allocations: 69.25 kB / 1.337 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-05/1.152, allocations: 64.33 kB / 1.337 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/1.155, allocations: 1.375 MB / 1.339 GB, free: 14.47 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.01071/1.166, allocations: 8.252 MB / 1.347 GB, free: 9.586 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/1.167, allocations: 0.9013 MB / 1.348 GB, free: 9.547 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008081/1.168, allocations: 0.5316 MB / 1.348 GB, free: 9.539 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006182/1.169, allocations: 325.5 kB / 1.349 GB, free: 9.25 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/1.169, allocations: 47.91 kB / 1.349 GB, free: 9.211 MB / 1.014 GB Notification: Performance of pre-optimization done (n=96): time 3.307e-06/1.169, allocations: 0 / 1.349 GB, free: 9.211 MB / 1.014 GB Notification: Performance of matching and sorting (n=102): time 0.007005/1.176, allocations: 3.118 MB / 1.352 GB, free: 8.535 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/1.176, allocations: 65.75 kB / 1.352 GB, free: 8.469 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/1.178, allocations: 1.264 MB / 1.353 GB, free: 8.297 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001315/1.178, allocations: 49.39 kB / 1.353 GB, free: 8.266 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006369/1.178, allocations: 0.8102 MB / 1.354 GB, free: 7.949 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003726/1.179, allocations: 363.3 kB / 1.354 GB, free: 7.723 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000372/1.179, allocations: 223.3 kB / 1.354 GB, free: 7.699 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.179, allocations: 357.7 kB / 1.355 GB, free: 7.391 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000811/1.18, allocations: 450.6 kB / 1.355 GB, free: 7.375 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/1.181, allocations: 0.8249 MB / 1.356 GB, free: 6.926 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/1.183, allocations: 1.258 MB / 1.357 GB, free: 6.559 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/1.183, allocations: 2.438 kB / 1.357 GB, free: 6.559 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002531/1.186, allocations: 1.407 MB / 1.359 GB, free: 6.414 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/1.186, allocations: 12.62 kB / 1.359 GB, free: 6.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/1.186, allocations: 10.91 kB / 1.359 GB, free: 6.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.443e-05/1.186, allocations: 16.61 kB / 1.359 GB, free: 6.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/1.187, allocations: 277.3 kB / 1.359 GB, free: 6.406 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.844e-05/1.187, allocations: 22.8 kB / 1.359 GB, free: 6.406 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/1.189, allocations: 65.47 kB / 1.359 GB, free: 6.406 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/1.189, allocations: 50.44 kB / 1.359 GB, free: 6.406 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001372/1.19, allocations: 0.7754 MB / 1.36 GB, free: 6.32 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001063/1.191, allocations: 0.8142 MB / 1.361 GB, free: 5.711 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001929/1.193, allocations: 1.236 MB / 1.362 GB, free: 4.969 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.036e-05/1.193, allocations: 2.875 kB / 1.362 GB, free: 4.969 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002504/1.196, allocations: 1.394 MB / 1.363 GB, free: 4.465 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.196, allocations: 10.16 kB / 1.363 GB, free: 4.465 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.196, allocations: 12.06 kB / 1.363 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/1.196, allocations: 22.56 kB / 1.363 GB, free: 4.457 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/1.197, allocations: 270.9 kB / 1.363 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-05/1.197, allocations: 23.09 kB / 1.363 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/1.198, allocations: 75.22 kB / 1.364 GB, free: 4.422 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.295e-05/1.198, allocations: 50.84 kB / 1.364 GB, free: 4.414 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.0003736/1.199, allocations: 256.7 kB / 1.364 GB, free: 4.195 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/1.199, allocations: 168.8 kB / 1.364 GB, free: 4.109 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/1.201, allocations: 1.164 MB / 1.365 GB, free: 3.621 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.201, allocations: 7.969 kB / 1.365 GB, free: 3.621 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.201, allocations: 2.219 kB / 1.365 GB, free: 3.621 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001773/1.203, allocations: 1.08 MB / 1.366 GB, free: 3.059 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005242/1.208, allocations: 2.793 MB / 1.369 GB, free: 1.633 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.209, allocations: 2.969 kB / 1.369 GB, free: 1.633 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/1.21, allocations: 242.6 kB / 1.369 GB, free: 1.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.936e-05/1.21, allocations: 9.922 kB / 1.369 GB, free: 1.586 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.28e-05/1.21, allocations: 34.67 kB / 1.369 GB, free: 1.562 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/1.21, allocations: 5.25 kB / 1.369 GB, free: 1.562 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.21, allocations: 9 kB / 1.369 GB, free: 1.559 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/1.213, allocations: 1.762 MB / 1.371 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000751/1.214, allocations: 331.3 kB / 1.371 GB, free: 308 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/1.214, allocations: 29.77 kB / 1.371 GB, free: 288 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.215, allocations: 59.55 kB / 1.371 GB, free: 252 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/1.216, allocations: 70.69 kB / 1.371 GB, free: 216 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/1.216, allocations: 37.02 kB / 1.371 GB, free: 204 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001763/1.217, allocations: 0.8454 MB / 1.372 GB, free: 15.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.2e-07/1.217, allocations: 4 kB / 1.372 GB, free: 15.74 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002679/1.22, allocations: 0.7581 MB / 1.373 GB, free: 15.68 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.003863/1.224, allocations: 2.496 MB / 1.375 GB, free: 14.08 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004285/1.228, allocations: 2.006 MB / 1.377 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.228, allocations: 0 / 1.377 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008785/1.229, allocations: 0.5147 MB / 1.378 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004642/1.234, allocations: 0.9095 MB / 1.379 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02086/1.255, allocations: 13.1 MB / 1.392 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/1.256, allocations: 1.437 MB / 1.393 GB, free: 15.5 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002491/1.259, allocations: 0.5715 MB / 1.394 GB, free: 14.92 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.26, allocations: 0.6828 MB / 1.394 GB, free: 14.23 MB / 1.045 GB Notification: Performance of SimCode: time 1.884e-06/1.26, allocations: 0 / 1.394 GB, free: 14.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09723/1.357, allocations: 44.62 MB / 1.438 GB, free: 2.219 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/12.07, allocations: 4.062 kB / 1.438 GB, free: 2.215 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