Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.009186/0.009186, allocations: 102.4 kB / 15.73 MB, free: 5.992 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.002319/0.002319, allocations: 197.5 kB / 16.67 MB, free: 5.918 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.248/3.248, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 71.89 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9646/0.966, allocations: 157.4 MB / 1.207 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2076/1.174, allocations: 187.9 MB / 1.391 GB, free: 1.027 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01627/1.19, allocations: 10.76 MB / 1.401 GB, free: 6.234 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/1.191, allocations: 39.75 kB / 1.401 GB, free: 6.195 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/1.193, allocations: 496.9 kB / 1.402 GB, free: 5.707 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006896/1.2, allocations: 2.587 MB / 1.404 GB, free: 3.109 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006654/1.206, allocations: 2.472 MB / 1.407 GB, free: 0.6406 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004428/1.211, allocations: 2.77 MB / 1.409 GB, free: 13.86 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/1.212, allocations: 0.78 MB / 1.41 GB, free: 13.07 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002779/1.215, allocations: 1.02 MB / 1.411 GB, free: 12.04 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003068/1.218, allocations: 1.057 MB / 1.412 GB, free: 10.98 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002467/1.219, allocations: 96 kB / 1.412 GB, free: 10.89 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00734/1.226, allocations: 3.009 MB / 1.415 GB, free: 7.875 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0007968/1.227, allocations: 434.8 kB / 1.416 GB, free: 7.449 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001049/1.228, allocations: 0.5755 MB / 1.416 GB, free: 6.871 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.007052/1.235, allocations: 2.957 MB / 1.419 GB, free: 3.906 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/1.235, allocations: 3.984 kB / 1.419 GB, free: 3.902 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.204e-06/1.235, allocations: 0 / 1.419 GB, free: 3.902 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.669e-05/1.235, allocations: 0 / 1.419 GB, free: 3.902 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004702/1.24, allocations: 1.666 MB / 1.421 GB, free: 2.184 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/1.24, allocations: 8.031 kB / 1.421 GB, free: 2.176 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002744/1.24, allocations: 118.5 kB / 1.421 GB, free: 2.051 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/1.242, allocations: 294.4 kB / 1.421 GB, free: 1.762 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/1.244, allocations: 0.835 MB / 1.422 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.07e-05/1.244, allocations: 57.3 kB / 1.422 GB, free: 0.8281 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/1.244, allocations: 63.98 kB / 1.422 GB, free: 0.7656 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/1.246, allocations: 0.9883 MB / 1.423 GB, free: 15.76 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/1.246, allocations: 0 / 1.423 GB, free: 15.76 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.042e-05/1.246, allocations: 27.98 kB / 1.423 GB, free: 15.73 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/1.246, allocations: 73.95 kB / 1.423 GB, free: 15.66 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/1.248, allocations: 1.015 MB / 1.424 GB, free: 14.64 MB / 1.154 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.006321/1.254, allocations: 3.574 MB / 1.428 GB, free: 10.84 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/1.255, allocations: 0.6611 MB / 1.428 GB, free: 10.17 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005501/1.256, allocations: 380.8 kB / 1.429 GB, free: 9.801 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/1.256, allocations: 202.7 kB / 1.429 GB, free: 9.566 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/1.256, allocations: 39.12 kB / 1.429 GB, free: 9.52 MB / 1.154 GB Notification: Performance of pre-optimization done (n=62): time 2.244e-06/1.256, allocations: 0 / 1.429 GB, free: 9.52 MB / 1.154 GB Notification: Performance of matching and sorting (n=62): time 0.001889/1.258, allocations: 1.025 MB / 1.43 GB, free: 8.492 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/1.258, allocations: 115.4 kB / 1.43 GB, free: 8.355 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/1.259, allocations: 0.8058 MB / 1.431 GB, free: 7.539 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/1.259, allocations: 37.7 kB / 1.431 GB, free: 7.496 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/1.26, allocations: 420.1 kB / 1.431 GB, free: 7.078 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/1.26, allocations: 232.8 kB / 1.431 GB, free: 6.848 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/1.26, allocations: 138.6 kB / 1.432 GB, free: 6.703 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.26, allocations: 337.9 kB / 1.432 GB, free: 6.367 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/1.261, allocations: 348.7 kB / 1.432 GB, free: 6.023 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/1.261, allocations: 460.7 kB / 1.433 GB, free: 5.539 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/1.263, allocations: 0.7665 MB / 1.433 GB, free: 4.742 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/1.263, allocations: 7.938 kB / 1.433 GB, free: 4.734 MB / 1.154 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001536/1.264, allocations: 0.9218 MB / 1.434 GB, free: 3.805 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/1.264, allocations: 4 kB / 1.434 GB, free: 3.801 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.264, allocations: 4 kB / 1.434 GB, free: 3.797 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.264, allocations: 7.984 kB / 1.434 GB, free: 3.789 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/1.265, allocations: 151.8 kB / 1.434 GB, free: 3.641 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.265, allocations: 12.22 kB / 1.434 GB, free: 3.629 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007665/1.266, allocations: 87.17 kB / 1.435 GB, free: 3.543 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.101e-05/1.266, allocations: 27.98 kB / 1.435 GB, free: 3.516 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007856/1.267, allocations: 0.537 MB / 1.435 GB, free: 2.977 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005848/1.267, allocations: 450.5 kB / 1.435 GB, free: 2.496 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001033/1.268, allocations: 0.7369 MB / 1.436 GB, free: 1.723 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.778e-06/1.268, allocations: 0 / 1.436 GB, free: 1.723 MB / 1.154 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001424/1.27, allocations: 0.8905 MB / 1.437 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/1.27, allocations: 11.94 kB / 1.437 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.27, allocations: 0 / 1.437 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/1.27, allocations: 8 kB / 1.437 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/1.27, allocations: 147.8 kB / 1.437 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/1.27, allocations: 11.92 kB / 1.437 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007434/1.271, allocations: 59.52 kB / 1.437 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/1.271, allocations: 31.98 kB / 1.437 GB, free: 0.5586 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * 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.0002164/1.271, allocations: 220.2 kB / 1.438 GB, free: 344 kB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/1.272, allocations: 90.88 kB / 1.438 GB, free: 252 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/1.273, allocations: 0.8009 MB / 1.438 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/1.273, allocations: 11.94 kB / 1.438 GB, free: 15.42 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.273, allocations: 0 / 1.438 GB, free: 15.42 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009978/1.274, allocations: 0.7439 MB / 1.439 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/1.277, allocations: 2.101 MB / 1.441 GB, free: 12.45 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.277, allocations: 4 kB / 1.441 GB, free: 12.45 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/1.278, allocations: 131.8 kB / 1.441 GB, free: 12.32 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/1.278, allocations: 4 kB / 1.441 GB, free: 12.31 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/1.278, allocations: 16 kB / 1.441 GB, free: 12.3 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/1.278, allocations: 11.98 kB / 1.441 GB, free: 12.29 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/1.278, allocations: 7.938 kB / 1.441 GB, free: 12.28 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/1.28, allocations: 1.356 MB / 1.443 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004815/1.28, allocations: 251.8 kB / 1.443 GB, free: 10.6 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/1.281, allocations: 20 kB / 1.443 GB, free: 10.58 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006026/1.281, allocations: 27.98 kB / 1.443 GB, free: 10.55 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/1.281, allocations: 48.25 kB / 1.443 GB, free: 10.5 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/1.281, allocations: 23.94 kB / 1.443 GB, free: 10.48 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008805/1.282, allocations: 0.5576 MB / 1.444 GB, free: 9.926 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.7e-07/1.282, allocations: 0 / 1.444 GB, free: 9.926 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002093/1.284, allocations: 0.7489 MB / 1.444 GB, free: 9.176 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.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 (64): * Single equations (assignments): 64 * 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.003965/1.288, allocations: 2.346 MB / 1.447 GB, free: 6.77 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002293/1.291, allocations: 1.187 MB / 1.448 GB, free: 5.586 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.291, allocations: 0 / 1.448 GB, free: 5.586 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000588/1.291, allocations: 370.1 kB / 1.448 GB, free: 5.223 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/1.294, allocations: 0.537 MB / 1.449 GB, free: 4.691 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/1.308, allocations: 7.873 MB / 1.456 GB, free: 12.55 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008205/1.309, allocations: 1.081 MB / 1.457 GB, free: 11.44 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001306/1.31, allocations: 428.1 kB / 1.458 GB, free: 11.02 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/1.311, allocations: 335.3 kB / 1.458 GB, free: 10.7 MB / 1.186 GB Notification: Performance of SimCode: time 1.192e-06/1.311, allocations: 0 / 1.458 GB, free: 10.7 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0839/1.394, allocations: 31.84 MB / 1.489 GB, free: 11.21 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.64, allocations: 2.188 kB / 1.489 GB, free: 11.21 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches