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.004998/0.004998, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.001386/0.001386, allocations: 196 kB / 16.67 MB, free: 6.355 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.714/2.714, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 67.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2871, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7712/1.058, allocations: 242.4 MB / 1.457 GB, free: 3.004 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02235/1.081, allocations: 15.89 MB / 1.472 GB, free: 3.074 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/1.083, allocations: 75.56 kB / 1.473 GB, free: 3 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002886/1.086, allocations: 1.181 MB / 1.474 GB, free: 1.812 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.009045/1.095, allocations: 3.819 MB / 1.477 GB, free: 13.98 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004207/1.099, allocations: 1.83 MB / 1.479 GB, free: 12.16 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006613/1.106, allocations: 5.248 MB / 1.484 GB, free: 6.891 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00213/1.108, allocations: 1.665 MB / 1.486 GB, free: 5.195 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004706/1.113, allocations: 2.604 MB / 1.488 GB, free: 2.582 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002853/1.116, allocations: 1.722 MB / 1.49 GB, free: 0.8711 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003001/1.116, allocations: 172 kB / 1.49 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004918/1.121, allocations: 2.712 MB / 1.493 GB, free: 13.98 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007829/1.122, allocations: 0.7674 MB / 1.494 GB, free: 13.21 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/1.123, allocations: 1.151 MB / 1.495 GB, free: 12.06 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004803/1.128, allocations: 3.57 MB / 1.498 GB, free: 8.477 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.128, allocations: 4 kB / 1.498 GB, free: 8.473 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.262e-06/1.128, allocations: 3.938 kB / 1.498 GB, free: 8.469 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.454e-05/1.128, allocations: 0 / 1.498 GB, free: 8.469 MB / 1.186 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.004068/1.132, allocations: 2.566 MB / 1.501 GB, free: 5.844 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/1.132, allocations: 8.031 kB / 1.501 GB, free: 5.836 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002704/1.132, allocations: 223.1 kB / 1.501 GB, free: 5.609 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00278/1.135, allocations: 0.5149 MB / 1.502 GB, free: 5.094 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/1.137, allocations: 1.372 MB / 1.503 GB, free: 3.668 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/1.137, allocations: 182.2 kB / 1.503 GB, free: 3.477 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/1.138, allocations: 155.9 kB / 1.503 GB, free: 3.324 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0028/1.14, allocations: 1.741 MB / 1.505 GB, free: 1.508 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/1.14, allocations: 4 kB / 1.505 GB, free: 1.504 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/1.141, allocations: 56 kB / 1.505 GB, free: 1.449 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.092e-05/1.141, allocations: 66.62 kB / 1.505 GB, free: 1.383 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/1.143, allocations: 1.369 MB / 1.506 GB, free: 8 kB / 1.186 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.009094/1.152, allocations: 8.22 MB / 1.514 GB, free: 7.086 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/1.154, allocations: 0.9119 MB / 1.515 GB, free: 6.164 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009253/1.155, allocations: 0.5346 MB / 1.516 GB, free: 5.633 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006153/1.155, allocations: 320.4 kB / 1.516 GB, free: 5.266 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/1.155, allocations: 52.94 kB / 1.516 GB, free: 5.207 MB / 1.201 GB Notification: Performance of pre-optimization done (n=96): time 2.375e-06/1.155, allocations: 0 / 1.516 GB, free: 5.207 MB / 1.201 GB Notification: Performance of matching and sorting (n=102): time 0.006458/1.162, allocations: 3.158 MB / 1.519 GB, free: 2 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/1.162, allocations: 60.41 kB / 1.519 GB, free: 1.93 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/1.163, allocations: 1.262 MB / 1.521 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.919e-05/1.164, allocations: 49.7 kB / 1.521 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006565/1.164, allocations: 0.823 MB / 1.521 GB, free: 15.77 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/1.165, allocations: 384.7 kB / 1.522 GB, free: 15.39 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/1.165, allocations: 230.8 kB / 1.522 GB, free: 15.16 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.165, allocations: 353.9 kB / 1.522 GB, free: 14.81 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008567/1.166, allocations: 445.8 kB / 1.523 GB, free: 14.37 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/1.167, allocations: 0.8299 MB / 1.524 GB, free: 13.38 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/1.169, allocations: 1.244 MB / 1.525 GB, free: 12.01 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.169, allocations: 4 kB / 1.525 GB, free: 12 MB / 1.217 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002442/1.172, allocations: 1.414 MB / 1.526 GB, free: 10.58 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.172, allocations: 9.875 kB / 1.526 GB, free: 10.57 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.172, allocations: 12.09 kB / 1.526 GB, free: 10.56 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/1.172, allocations: 19.98 kB / 1.526 GB, free: 10.54 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/1.173, allocations: 271.6 kB / 1.526 GB, free: 10.28 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.582e-05/1.173, allocations: 23.92 kB / 1.526 GB, free: 10.25 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/1.174, allocations: 70.78 kB / 1.527 GB, free: 10.19 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-05/1.174, allocations: 55.98 kB / 1.527 GB, free: 10.13 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001296/1.175, allocations: 0.7757 MB / 1.527 GB, free: 9.355 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001153/1.177, allocations: 0.8143 MB / 1.528 GB, free: 8.367 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001952/1.178, allocations: 1.237 MB / 1.529 GB, free: 7.008 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.245e-06/1.178, allocations: 7.938 kB / 1.529 GB, free: 7 MB / 1.217 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002337/1.181, allocations: 1.398 MB / 1.531 GB, free: 5.59 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/1.181, allocations: 8 kB / 1.531 GB, free: 5.582 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.181, allocations: 8 kB / 1.531 GB, free: 5.574 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.181, allocations: 16 kB / 1.531 GB, free: 5.559 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.182, allocations: 274.5 kB / 1.531 GB, free: 5.293 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/1.182, allocations: 27.92 kB / 1.531 GB, free: 5.266 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.183, allocations: 75.83 kB / 1.531 GB, free: 5.191 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.408e-05/1.183, allocations: 48 kB / 1.531 GB, free: 5.145 MB / 1.217 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.0002631/1.183, allocations: 271.8 kB / 1.531 GB, free: 4.871 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/1.184, allocations: 167 kB / 1.532 GB, free: 4.707 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/1.186, allocations: 1.164 MB / 1.533 GB, free: 3.539 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.186, allocations: 12 kB / 1.533 GB, free: 3.527 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.186, allocations: 0 / 1.533 GB, free: 3.527 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001752/1.188, allocations: 1.075 MB / 1.534 GB, free: 2.402 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004369/1.192, allocations: 2.789 MB / 1.537 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/1.192, allocations: 4 kB / 1.537 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/1.193, allocations: 244.5 kB / 1.537 GB, free: 15.29 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/1.193, allocations: 4 kB / 1.537 GB, free: 15.29 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.898e-05/1.193, allocations: 32.2 kB / 1.537 GB, free: 15.25 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/1.193, allocations: 11.94 kB / 1.537 GB, free: 15.24 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.193, allocations: 4 kB / 1.537 GB, free: 15.24 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/1.196, allocations: 1.772 MB / 1.539 GB, free: 13.43 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004815/1.197, allocations: 351.8 kB / 1.539 GB, free: 13.07 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/1.197, allocations: 28.67 kB / 1.539 GB, free: 13.04 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009391/1.198, allocations: 57.08 kB / 1.539 GB, free: 12.98 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/1.198, allocations: 64.91 kB / 1.539 GB, free: 12.92 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.577e-05/1.198, allocations: 39.98 kB / 1.539 GB, free: 12.88 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001054/1.199, allocations: 0.8426 MB / 1.54 GB, free: 12.04 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.31e-07/1.199, allocations: 0 / 1.54 GB, free: 12.04 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001639/1.201, allocations: 0.7617 MB / 1.541 GB, free: 11.28 MB / 1.232 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.003653/1.204, allocations: 2.504 MB / 1.543 GB, free: 8.73 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003056/1.208, allocations: 1.744 MB / 1.545 GB, free: 6.996 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.208, allocations: 0 / 1.545 GB, free: 6.996 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009001/1.208, allocations: 0.5131 MB / 1.545 GB, free: 6.48 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003636/1.212, allocations: 0.9096 MB / 1.546 GB, free: 5.582 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/1.229, allocations: 12.04 MB / 1.558 GB, free: 9.043 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/1.23, allocations: 1.449 MB / 1.559 GB, free: 7.562 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00169/1.232, allocations: 0.56 MB / 1.56 GB, free: 6.996 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009087/1.233, allocations: 0.6906 MB / 1.561 GB, free: 6.305 MB / 1.248 GB Notification: Performance of SimCode: time 6.11e-07/1.233, allocations: 4 kB / 1.561 GB, free: 6.301 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.141/3.374, allocations: 45.01 MB / 1.605 GB, free: 9.887 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.44/20.81, allocations: 0 / 1.605 GB, free: 9.887 MB / 1.295 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